You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While creating a build from scratch, the compilers selected are based on system cc and c++ if CC and CXX are not set (which makes sense)
However, nvcc has a restriction on what compilers can be used with it and as a result we get compilation errors related to missing compiler intrinsic/standard features.
Expected Behavior
If not outright correct detection, a warning/error if CUDA modules are selected and bad compiler versions are used
Current Behavior
Error is known only on compilation. Sometimes, the error is straightforward: nvcc only works with clang 8 but sometimes, it complains of missing compiler instrinic variables like __is_constant_evaluated
Possible Solution
Modify pcl_find_cuda.cmake to do magic detection and sane warnings
Temporary solution for normal people
Ensure that last line in bashrc is export PATH=$CUDA_PATH/bin:$PATH
The text was updated successfully, but these errors were encountered:
Your Environment
Context
While creating a build from scratch, the compilers selected are based on system
cc
andc++
ifCC
andCXX
are not set (which makes sense)However, nvcc has a restriction on what compilers can be used with it and as a result we get compilation errors related to missing compiler intrinsic/standard features.
Expected Behavior
If not outright correct detection, a warning/error if CUDA modules are selected and bad compiler versions are used
Current Behavior
Error is known only on compilation. Sometimes, the error is straightforward:
nvcc only works with clang 8
but sometimes, it complains of missing compiler instrinic variables like__is_constant_evaluated
Possible Solution
Modify
pcl_find_cuda.cmake
to do magic detection and sane warningsTemporary solution for normal people
Ensure that last line in bashrc is
export PATH=$CUDA_PATH/bin:$PATH
The text was updated successfully, but these errors were encountered: