-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation issues #45
Comments
I have met these errors too. It is caused by the namespace nvcuda not imported successfully. Refer to this website: https://stackoverflow.com/questions/53634287/cuda-fails-to-recognize-nvcuda-namespace-during-compilation |
Great find, this fix also works for me. |
which CMakeLists.txt should I modify? The one under the the major folder "tiny-cuda-nn" or somewhere under "tiny-cuda-nn/src"? I tried to add this: list(APPEND CUDA_NVCC_FLAGS "-arch=sm_70") but it does not work. |
Hello,
I'm having trouble compiling this project on my system. I'm using Ubuntu 20.04, RTX 2070 super, CUDA 11.6/ Driver Version: 510.47, cmake 3.23.0-rc1 and gcc 9.3.0.
The errors I get are when running:
tiny-cuda-nn$ cmake --build build --config RelWithDebInfo -j 16
and I see:
etc ... I have attached the full output for reference err.txt
Ultimately I would like to use tiny-cuda-nn with https://github.com/NVlabs/instant-ngp but I see the same problems with tiny-cuda-nn when compiling that also. Any help with this would be appreciated.
Cheers,
Alex
The text was updated successfully, but these errors were encountered: