报错:
c++: fatal error: 已杀死 signal terminated program cc1plus
compilation terminated.
make[2]: *** [test/core/CMakeFiles/test_so3.dir/build.make:63:test/core/CMakeFiles/test_so3.dir/test_so3.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:440:test/core/CMakeFiles/test_so3.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
[ 52%] Linking CXX executable test_sim3
[ 52%] Built target test_sim3
[ 55%] Linking CXX executable test_rxso3
[ 55%] Built target test_rxso3
[ 57%] Linking CXX executable test_se3
[ 57%] Built target test_se3
make: *** [Makefile:141:all] 错误 2
解决办法:
应该是内存不足,进程被杀死,将make -j4 改为make -j2 就编译成功了。