Closed JenningsL closed 5 years ago
Closed. It turn out that I am still using the system installed eigen.
Hi, @JenningsL. I come across the same problem, could you share the Eigen version which is compatible with CUDA=9.0?
My system installed eigen = 3.3.4
@xiaotaw you should set the Eigen path to the one that is provided in this GitHub repo, you can find it in surfelwarp/external/ eigen3.4
@xiaotaw you should set the Eigen path to the one that is provided in this GitHub repo, you can find it in
surfelwarp/external/ eigen3.4
Yeah, thank you. I have solved this problem by the way you said.
Hi, thanks for your code. I installed Eigen in /external folder, and installed cuda9.0. Then I tried to compile the code following the readme. However, I got the following error:
`[ 1%] Building NVCC (Device) object common/CMakeFiles/common_lib.dir/common_lib_generated_sanity_check.cu.o In file included from /usr/local/cuda/include/common_functions.h:50:0, from /usr/local/cuda/include/cuda_runtime.h:115, from:0:
/usr/local/cuda/include/crt/common_functions.h:64:24: error: token ""__CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions
define CUDACC_VER "CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:402:85: note: in expansion of macro ‘CUDACC_VER’ && ( !defined(NVCC) || !EIGEN_ARCH_ARM_OR_ARM64 || (defined CUDACC_VER && __CUDACC_VER__ >= 80000) ) `
It seems to be the incompatity between Eigen and CUDA, however, I don't know exactly how to fix it. A little help would be appreciated. Thanks.