-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Cuda not found on windows 10 #461
Comments
Same problems for me, waiting for the solutions. |
Same issue here! It would be great if you could help with this. |
Same issue here - working through some troubleshooting now. I’ll update if I figure it out! |
Same here....why is this always such a PITA?! |
are you running from developer command prompt or developer powershell? |
I tested on both, also with and without "run as administrator" |
Thank you for your quick reply while I am still looking at this! A couple of diagnostic questions that might be helpful do you see the path similar to |
I got also VS 2017 installed, It got installed with Unity.
I got CUDA installed to my path, Not on C: but on HDD and it works ("nvcc" prompt works, and conda env with pytorch/tensorflow load CUDA). |
This is my current error, I am using VS 2019 and cuda 11.5, still cannot fix it so far....... CMake Error in C:/instant-ngp/instant-ngp-master/build/CMakeFiles/CMakeTmp/CMakeLists.txt: CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeTestCUDACompiler.cmake:39 (try_compile): -- Configuring incomplete, errors occurred! |
@Fqlox the reply by @kdand35 made me reread top post you should be able to use CUDA and CMAKE mailing lists to further debug this issue re: @Fqlox cmake is not populating CUDA_ARCHITECTURES for your build @kdand35 this is covered in the FAQ with this answer Windows: the Visual Studio CUDA integration was not installed correctly. Follow mitsuba-renderer/mitsuba2#103 (comment) to fix the problem without re-installing CUDA. (#18) |
I did this, and still getting the same issue compiling |
Hi, @Fqlox ! Previously, I only downloaded the zip file of this project and compile it on my computer. To pass the above problems, I just deleted the whole file I downloaded and rebuilt it again. The reason might be I tried to use several versions of Cmake to compile and it made some remains in my build/CMakeFiles path. I am not sure if it is the true reason, it passed the above problems, but I met something new....... Yesterday, I used Git to clone and compile, and it works. Also, I found a good video to show how to install it and very helpful for the installation. Please also refer: https://www.youtube.com/watch?v=kq9xlvz73Rg&t=563s I am not sure if there are some differences between these two ways, but really recommend you use Git if you don't use it currently. Good luck and Hope it helps! |
I did installed via git, since the --recursive args allows to download dependencies. I did delete and redownload the repo, uninstalled VS 2019 and installed it again, swapped the CUDA File VS need (from C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\extras\visual_studio_integration\MSBuildExtensions to C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations ). I did look the tutorial and did exaclty the same stuff as mentionned : still got the issue while preparing the compilation. |
I managed to correct this issue by fully uninstalling Visual Studio and CUDA and reinstalling both on the system drive without changing the installation path. |
Hi, I wanted to build the project on windows 10 but got some issue when preparing the build.
I got :
I did reinstall CUDA and update it to the path to the latest version with the visual studio integration.
And add the files in the VS directory as expected.
Thanks in advance
The text was updated successfully, but these errors were encountered: