-
Notifications
You must be signed in to change notification settings - Fork 266
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
Building issues [no CUDA toolset found] #103
Comments
Hi, is E.g. if you try to run:
|
This is what I get with nvcc --version :
Got the issue solved by manually copying the files from C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\visual_studio_integration\MSBuildExtensions to C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations. |
Could you try to pull latest master and update the submodule. We fixed something in enoki recently which might be related to this.
|
Is my problem similar to this?
Here are what I've done so far.
I checked nvcc is installed:
and I set the environment variables:
I also followed this:
but still not resolved.. |
Would you be able to update CUDA on your system? (e.g. v10.2) Not sure this would solve your problem, but it is worth a try! |
Hi @Speierers Thanks, I got all the previous issues resolved by updating to CUDA 10.2. I'm facing now facing an error when integrating with PyTorch. I have the following: I am facing the following error.
Do you have an idea? Thanks! |
This seems to be related to Pytorch and not Mitsuba: |
mark |
I am using CUDA 10.2 but get the same problem too. Can you help me with this? Solved by reinstalling CUDA 10.2. Then deleted CmakeFiles folder and CmakeCache.txt, and built successfully. |
Thanks, I tossed and turned all day until I saw your reply and I solved the problem! |
Hey, i'm getting the issue. nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/VS2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/../../../ |
Hi @SHPEYOLO, Your error log seems to refer to instant-ngp rather than Mitsuba, did you post in the right repo? |
您好!!!!這是我以下碰到的問題: 但是一直顯示這樣的錯誤: CMake Error at dependencies/tiny-cuda-nn/CMakeLists.txt:188 (add_subdirectory):
does not contain a CMakeLists.txt file. -- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "") -- Using Win32 for window creation D:\Tutorial\ngp\instant-ngp>cmake --build build --config RelWithDebInfo -j 16 MSBUILD : error MSB1009: 專案檔不存在。 請問我是有什麼沒安裝好,還是此步驟其實是可以忽略的? |
Hello @Shy-fawn, Same as above: your error log seems to refer to instant-ngp rather than Mitsuba, did you post in the right repo? |
@merlinND 不好意思再打擾您 |
@Shy-fawn 您在錯誤的存儲庫上發布。 請用英文發帖,否則我們很遺憾需要封鎖您的帳戶。 |
@zeynepiskenderoglu -- please use Mitsuba 3, this project is no longer supported. |
If still facing the issue on windows: Make sure cmake is path is in windows global env-variables.
|
I have building issues with the following system settings:
Windows 10
Visual Studio 2019 (Community Edition) Version 16.5.4
cmake 3.17.1
python 3.7
CUDA 10.1
Even though CUDA is installed, but cmake is not able to locate it. The VCTargets is not created in the VC folder:
C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/VC/
Do you have an idea? Thanks!
The text was updated successfully, but these errors were encountered: