The CUDA compiler identification is unknown
The log tell me that "
CMake Error in /home/ycf/tiny-cuda-nn/build/CMakeFiles/CMakeTmp/CMakeLists.txt: CUDA_ARCHITECTURES is empty for target "cmTC_069f6".
CMake Error at /usr/local/share/cmake-3.21/Modules/CMakeTestCUDACompiler.cmake:43 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): CMakeLists.txt:25 (project)
-- Configuring incomplete, errors occurred! See also "/home/ycf/tiny-cuda-nn/build/CMakeFiles/CMakeOutput.log". See also "/home/ycf/tiny-cuda-nn/build/CMakeFiles/CMakeError.log". ` Can you help me? Thank you very much.
Did you add --recursive flag when cloning the repo?
Hello! I have encountered exactly the same problem. May I ask how you resolved it in the end
Did you add
--recursiveflag when cloning the repo?
Have you solved?
Hello! I have encountered exactly the same problem. May I ask how you resolved it in the end
Have you solved?
This works for me.
cmake . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_CUDA_COMPILER='/usr/local/cuda/bin/nvcc"