uhhhci / immersive-ngp

We present the first open-source VR NERF Unity package that brings high resolution, low-latency, 6-DOF NERF rendering to VR. This work is based on Nvidia's ground breaking instant-ngp technique.
Other
294 stars 25 forks source link

cmake build error which is about "optix_ptx.h.rule" #13

Closed mspark2023 closed 11 months ago

mspark2023 commented 1 year ago

Hi I built your code by your readme file guidance, but I always got this error.

화면 캡처 2023-02-20 104337

My Environment: windows 11 cuda 11.6 cmake 3.26 windows Developer Command Prompt visual studio 2022

After Run cmake . -B build, I got this. I add some print message. It looks no error when I build CMakeList.txt file

화면 캡처 2023-02-20 103507

Then I run cmake --build build --config RelWithDebInfo -j, I got some error about optix_ptx.h.rule.

AND I can build and run nvidia instant-ngp repo successfully in same environment.

What did I miss? Could you give me some suggestions?

keli95566 commented 1 year ago

Sorry that we might indeed missing the "cmake/bin2c_wrapper.cmake" file under "instant-ngp" folder. We added it back and hope that it fixs the build issue.