NeRF-SLAM icon indicating copy to clipboard operation
NeRF-SLAM copied to clipboard

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

Open kenan9875645 opened this issue 2 years ago • 0 comments

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!

kenan9875645 avatar Oct 12 '23 15:10 kenan9875645