Skip to content
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

compile error in win10 with vs2019.16.11 and cuda 11.0 #74

Closed
YK-hastur opened this issue Mar 29, 2022 · 3 comments
Closed

compile error in win10 with vs2019.16.11 and cuda 11.0 #74

YK-hastur opened this issue Mar 29, 2022 · 3 comments

Comments

@YK-hastur
Copy link

[E:\cv\instant-ngp-master\build\dependencies\tiny-cuda-nn\src\tiny-cuda-nn.vcxproj]
E:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(309): error
: no operator "+" matches these operands [E:\cv\instant-ngp-master\build\dependencies\tiny-cuda-nn\src\tiny-cuda-nn.vcx
proj]

E:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(919): error
: expected a "(" [E:\cv\instant-ngp-master\build\dependencies\tiny-cuda-nn\src\tiny-cuda-nn.vcxproj]

@yaohusama
Copy link

I have that problem,too.

@YK-hastur
Copy link
Author

@yaohusama I found the reason, caused by the mismatch between the version of visual studio and CUDA, complie success when I change version to vs2019.16.11 and cuda 11.4

@YK-hastur YK-hastur changed the title compile error compile error in win10 with vs2019.16.11 and cuda 11.0 Apr 1, 2022
@Tom94
Copy link
Collaborator

Tom94 commented Apr 1, 2022

That's good to know, thanks.

Unfortunately, this is hard, if not impossible, to fix on tiny-cuda-nn's end. Some versions of CUDA and visual studio are simply incompatible -- to the point where one should generally update both at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants