DXR HLSL intrinsic functions not defined

I can’t use HLSLintrinsic functions like : TraceRay() , ReportHit() and … . The compiler provides this error message : Function ‘TraceRay(RaytracingAccelerationStructure, int, int, int, int, int, RayDesc, HitInfo)’ is not declared.

Hi there @nastihanb and welcome to the NVIDIA developer forums.

I see you already cross-posted on the Microsoft support pages, so I won’t refer you there anymore.

Since everything seems to still work correctly I suspect that there is simply a mismatch between your development environment (like include and library PATHSs) and the general DXR installation PATHs on your system. You should make sure that those are in sync, otherwise this might lead to issues like what you are seeing.

Hope that helps.

Hi @MarkusHoHo
Thanks a lot for your help. I’ll check that out.
Appreciate it!