Facing issue while building Instant-ngp(Nerf)

Hello,

I was going through this blog. I want to install this instant-ngp in jetson xavier. But I am facing issue while building the repo and not able to fing proper solution for the same.

Here the last command which I ran:
cmake --build build --config RelWithDebInfo -j4

Error:
Consolidate compiler generated dependencies of target glfw_objects
[ 1%] Building CUDA object dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/common_device.cu.o
[ 3%] Building CUDA object dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/common.cu.o
[ 5%] Building CUDA object dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/cpp_api.cu.o
gcc: error: unrecognized command line option ‘-mf16c’
gcc: error: unrecognized command line option ‘-mf16c’
dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/build.make:89: recipe for target ‘dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/common_device.cu.o’ failed
make[2]: *** [dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/common_device.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs…
dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/build.make:103: recipe for target ‘dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/cpp_api.cu.o’ failed
make[2]: *** [dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/cpp_api.cu.o] Error 1
gcc: error: unrecognized command line option ‘-mf16c’
dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/build.make:75: recipe for target ‘dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/common.cu.o’ failed
make[2]: *** [dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/common.cu.o] Error 1
CMakeFiles/Makefile2:253: recipe for target ‘dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/all’ failed
make[1]: *** [dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 33%] Built target glfw_objects
Makefile:90: recipe for target ‘all’ failed
make: *** [all] Error 2

Hardware Information:
Board: Jetson Xavier
Cuda:10.2
Jetpack: 4.6.1
TensorRT: 8.2.1.8
cuDNN: 8.2.1.32

Thank you
Viraj Hapaliya

It seems the Instant NeRFs only support with dGPU, I will suggest to ask the question at Issues · NVlabs/instant-ngp · GitHub
Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.