ToniRV / NeRF-SLAM

NeRF-SLAM: Real-Time Dense Monocular SLAM with Neural Radiance Fields. https://arxiv.org/abs/2210.13641 + Sigma-Fusion: Probabilistic Volumetric Fusion for Dense Monocular SLAM https://arxiv.org/abs/2210.01276
BSD 2-Clause "Simplified" License
1.14k stars 139 forks source link

error about cmake --build build_ngp --config RelWithDebInfo -j8 #59

Open kenan9875645 opened 8 months ago

kenan9875645 commented 8 months ago

Hi!I encountered some issues while configuring the environment.When I run the following command: cmake --build build_ngp --config RelWithDebInfo -j8

It will result in the following error: /usr/bin/ld: libngp.a(testbed.cu.o): undefined reference to symbol 'glEnable' /usr/bin/ld: /lib/x86_64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/testbed.dir/build.make:119:testbed] 错误 1 make[1]: [CMakeFiles/Makefile2:233:CMakeFiles/testbed.dir/all] 错误 2 make: *** [Makefile:91:all] 错误 2

May I ask how to solve it? Thank you very much!