两个问题:
- gtsam的cmake中一个find_dependency改成find_package
- 第二个错误
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libvtkproj4-6.2.so.6.2.0', needed by '/home/sl/loam/devel/lib/lego_loam/transformFusion'. Stop.
CMakeFiles/Makefile2:1611: recipe for target 'LeGO-LOAM/LeGO-LOAM/CMakeFiles/transformFusion.dir/all' failed
make[1]: *** [LeGO-LOAM/LeGO-LOAM/CMakeFiles/transformFusion.dir/all] Error 2
ln -s /usr/lib/x86_64-linux-gnu/libvtkCommonCore-6.2.so /usr/lib/libvtkproj4.so