Rotors仿真遇到的问题及总结

时间:2024-05-18 15:47:21

Rotors仿真遇到的问题及总结


报错1:
CMake Error
Failed to find glog - Could not find glog include directory, set
GLOG_INCLUDE_DIR to directory containing glog/logging.hba

Rotors仿真遇到的问题及总结
报错原因:缺少Glog库,库文件依赖

解决办法:安装库文件包libgoogle-glog-dev
Rotors仿真遇到的问题及总结
报错2:
No rule to make target ‘/home/batjack/WorkSpace/rotors_ws/src/rotors/rotors_gazebo_plugins/PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND’

报错原因:缺少编译器protobuf-compiler

解决办法:$ sudo apt-get install protobuf-compiler
Rotors仿真遇到的问题及总结