CMake Error at /usr/local/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:753 (message):
Compiling the CUDA compiler identification source file
"CMakeCUDACompilerId.cu" failed.
Compiler: /usr/bin/nvcc
Build flags:
Id flags: --keep;--keep-dir;tmp -v
The output was:
127
$ _NVVMBRANCH=nvvm
$ SPACE=
$ CUDART=cudart
$ HERE=/usr/bin
$ THERE=/usr/bin
$ _TARGETSIZE=
$ _TARGETDIR=
$ _TARGETSIZE=64
$ rm tmp/a_dlink.reg.c
$ gcc -D__CUDA_ARCH=520 -DCUDA_ARCH_LIST__=520 -E -x c++
CMake Error at /usr/local/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:753 (message): Compiling the CUDA compiler identification source file "CMakeCUDACompilerId.cu" failed.
Compiler: /usr/bin/nvcc
Build flags:
Id flags: --keep;--keep-dir;tmp -v
The output was:
127
$ _NVVMBRANCH=nvvm
$ SPACE=
$ CUDART=cudart
$ HERE=/usr/bin
$ THERE=/usr/bin
$ _TARGETSIZE=
$ _TARGETDIR=
$ _TARGETSIZE=64
$ rm tmp/a_dlink.reg.c
$ gcc -D__CUDA_ARCH=520 -DCUDA_ARCH_LIST__=520 -E -x c++
-DCUDA_DOUBLE_MATH_FUNCTIONS -DCUDACC -DNVCC -DCUDACC_VER_MAJOR=11 -DCUDACC_VER_MINOR=6 -DCUDACC_VER_BUILD=55 -DCUDA_API_VER_MAJOR=11 -DCUDA_API_VER_MINOR=6 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64 "CMakeCUDACompilerId.cu" -o "tmp/CMakeCUDACompilerId.cpp1.ii"
$ cicc --c++14 --gnu_version=80400 --display_error_number
--orig_src_file_name "CMakeCUDACompilerId.cu" --orig_src_path_name "/home/xiao/Downloads/gaussian-splatting/SIBR_viewers/build/CMakeFiles/3.27.6/CompilerIdCUDA/CMakeCUDACompilerId.cu" --allow_managed -arch compute_52 -m64 --no-version-ident -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 --include_file_name "CMakeCUDACompilerId.fatbin.c" -tused --gen_module_id_file --module_id_file_name "tmp/CMakeCUDACompilerId.module_id" --gen_c_file_name "tmp/CMakeCUDACompilerId.cudafe1.c" --stub_file_name "tmp/CMakeCUDACompilerId.cudafe1.stub.c" --gen_device_file_name "tmp/CMakeCUDACompilerId.cudafe1.gpu" "tmp/CMakeCUDACompilerId.cpp1.ii" -o "tmp/CMakeCUDACompilerId.ptx"
sh: 1: cicc: not found
--error 0x7f --
Call Stack (most recent call first): /usr/local/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /usr/local/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test) /usr/local/share/cmake-3.27/Modules/CMakeDetermineCUDACompiler.cmake:307 (CMAKE_DETERMINE_COMPILER_ID) src/projects/gaussianviewer/apps/gaussianViewer/CMakeLists.txt:12 (project)