Closed sxsong1207 closed 7 months ago
Sorry for the delay -- I haven't found a solution for this other than using an older gcc or newer CUDA. The easiest thing would be to use gcc-10 instead, which you can easily get with sudo apt install g++-10
and use it when first configuring your CMake build with:
% cmake -DCMAKE_CUDA_HOST_COMPILER=g++-10 -DCMAKE_CXX_COMPILER=g++-10 /path/to/visrtx/src
Unfortunately this is just a CUDA/gcc incompatibility in std headers and isn't something VisRTX did specifically.
Please reopen if you continue to have problems.
I have struggled to compile the VisRTX on my Linux computer for days. The GCC error message is very ambiguous that is impossible to locate the issue as the log is shown below. I cannot find template usage in those geometry/*.cu files.
Version
0.7.1 and 0.7.0 Tried NVIDIA-OptiX-SDK-7.6.0-linux64-x86_64 and NVIDIA-OptiX-SDK-8.0.0-linux64-x86_64
Build Environment
Compile Output