1. ./compile_detection.sh
error:
make[2]: *** [CMakeFiles/darknet_ros_lib.dir/build.make:2017:CMakeFiles/darknet_ros_lib.dir/src/darknet_ros/src/YoloObjectDetector.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:946:CMakeFiles/darknet_ros_lib.dir/all] 错误 2
make: *** [Makefile:141:all] 错误 2
Invoking "make -j16 -l16" failed
[INFO] SUBMODULE object_detection_landing NOT EXIST, Skip it!
[INFO] SUBMODULE object_detection_yolov5openvino NOT EXIST, Skip it!
2. ./compile_ego.sh
error:
/usr/include/gazebo-11/gazebo/msgs/wrench_stamped.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
^~~~~
In file included from /usr/include/gazebo-11/gazebo/msgs/MessageTypes.hh:136,
from /usr/include/gazebo-11/gazebo/msgs/msgs.hh:35,
from /usr/include/gazebo-11/gazebo/physics/Entity.hh:28,
from /usr/include/gazebo-11/gazebo/physics/Model.hh:30,
from /usr/include/gazebo-11/gazebo/physics/Actor.hh:27,
from /usr/include/gazebo-11/gazebo/physics/physics.hh:2,
from /home/weipengcheng/Prometheus/Simulator/gazebo_simulator/include/RealSensePlugin.h:23,
from /home/weipengcheng/Prometheus/Simulator/gazebo_simulator/include/gazebo_ros_realsense.h:4,
from /home/weipengcheng/Prometheus/Simulator/gazebo_simulator/gazebo_plugin/gazebo_ros_realsense.cpp:1:
/usr/include/gazebo-11/gazebo/msgs/wrench_stamped.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of p

该博客记录了在Ubuntu上遇到的多个编译错误,包括darknet_ros、gazebo_simulator、opencv、pcl库的错误。错误涉及protobuf版本不兼容、gazebo版本问题以及PCL点云处理中的类型不匹配。博主尝试了降级gazebo版本和解决protobuf冲突,但遇到了新的问题。此外,还提到了ORB-SLAM2 Vocabulary的解压错误。解决方案包括更新protobuf、调整gazebo版本和手动复制Vocabulary文件。
最低0.47元/天 解锁文章
531

被折叠的 条评论
为什么被折叠?



