I have a problem like this:
I know CUDA is not compatible with clang libc++, so I set the compiler related variables in cmake like this: CMAKE_C_COMPILER /usr/bin/cc CMAKE_CXX_COMPILER /usr/bin/c++ CMAKE_CXX_FLAGS -stdlib=libstdc++
CUDA_HOST_COMPILER /usr/bin/clang CUDA_NVCC_FLAGS -Xcompiler -stdlib=libstdc++; -Xlinker -stdlib=libstdc++"
However, I still got errors like this. I also searched online, no one has the same problem with me. Could anyone offer any help?