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

Fails compilation of Scene.cu #15

Closed
iqch opened this issue Sep 20, 2021 · 1 comment
Closed

Fails compilation of Scene.cu #15

iqch opened this issue Sep 20, 2021 · 1 comment

Comments

@iqch
Copy link

iqch commented Sep 20, 2021

Converting project to be used with Win10/MSVS2019/CUDA11.3 system leads to crash compiling this source
Boost 1.76.0
latest GLEW/GLFW
Eigen 3.4.0
CGAL 5.3

Error MSB3722
cmdline
F:\SDK\NVIDIA\Develop\bin\nvcc.exe -gencode=arch=compute_52,code="sm_52,compute_52" --use-local-env -ccbin "F:\App\MSVC2019\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64" -x cu -IF:\SDK\Eigen\3.4.0 -IF:\SDK\CGAL\5.3\include -IF:\SDK\CGAL\5.3\include -If:\SDK\boost\1.76.0 -IF:\SDK\NVIDIA\Develop\include --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static --extended-lambda --expt-relaxed-constexpr -DWIN32 -DWIN64 -DNDEBUG -D_CONSOLE -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fdx64\Release\vc142.pdb /FS /MD " -o x64\Release\Scene.cu.obj F:\Projects\Viper\Viper\Scene.cu

'cicc' died with status 0xC0000005 (ACCESS_VIOLATION)

making this source C++ compiled - pass succesfully

@iqch
Copy link
Author

iqch commented Sep 22, 2021

Solved by eliminating CGAL-depended code.

//#include "nnsearch.h"

@iqch iqch closed this as completed Oct 17, 2021
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

1 participant