ch13:找不到 -lglut
DownKate opened this issue · 0 comments
DownKate commented
/usr/bin/ld: 找不到 -lglut
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/myslam.dir/build.make:297:/home/wcd/projectslam/slambook2-master/ch13/lib/libmyslam.so] 错误 1
make[1]: *** [CMakeFiles/Makefile2:134:src/CMakeFiles/myslam.dir/all] 错误 2
make: *** [Makefile:101:all] 错误 2
在编译ch13时报的错