ethz-asl / mav_voxblox_planning

MAV planning tools using voxblox as the map representation.
BSD 3-Clause "New" or "Revised" License
453 stars 135 forks source link

There were some Build Errors. #83

Open SSZ1 opened 1 year ago

SSZ1 commented 1 year ago

Hi bro~ I run catkin build mav_voxblox_planning ,then I met some errors. And it showed as follows.


Errors << voxblox:cmake /home/ssz/catkin_ws/mav_voxblox_planning/logs/voxblox/build.cmake.000.log CMake Error at /home/ssz/catkin_ws/mav_voxblox_planning/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:38 (find_package): By not providing "Findprotobuf_catkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "protobuf_catkin", but CMake did not find one.

Could not find a package configuration file provided by "protobuf_catkin" with any of the following names:

protobuf_catkinConfig.cmake
protobuf_catkin-config.cmake

Add the installation prefix of "protobuf_catkin" to CMAKE_PREFIX_PATH or set "protobuf_catkin_DIR" to a directory containing one of the above files. If "protobuf_catkin" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:5 (catkin_simple)

cd /home/ssz/catkin_ws/mav_voxblox_planning/build/voxblox; catkin build --get-env voxblox | catkin env -si /usr/bin/cmake /home/ssz/catkin_ws/mav_voxblox_planning/src/voxblox/voxblox --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/ssz/catkin_ws/mav_voxblox_planning/devel -DCMAKE_INSTALL_PREFIX=/home/ssz/catkin_ws/mav_voxblox_planning/install -DCMAKE_BUILD_TYPE=Release; cd - ............................................................................... Failed << voxblox:cmake [ Exited with code 1 ] Failed <<< voxblox [ 16.0 seconds ]
Abandoned <<< loco_planner [ Unrelated job failed ] Abandoned <<< mav_planning_rviz [ Unrelated job failed ] Abandoned <<< mav_path_smoothing [ Unrelated job failed ] Abandoned <<< voxblox_rviz_plugin [ Unrelated job failed ] Abandoned <<< voxblox_ros [ Unrelated job failed ] Abandoned <<< voxblox_planning_common [ Unrelated job failed ] Abandoned <<< voxblox_loco_planner [ Unrelated job failed ] Abandoned <<< mav_local_planner [ Unrelated job failed ] Abandoned <<< voxblox_rrt_planner [ Unrelated job failed ] Abandoned <<< voxblox_skeleton [ Unrelated job failed ] Abandoned <<< voxblox_skeleton_planner [ Unrelated job failed ] Abandoned <<< mav_planning_benchmark [ Unrelated job failed ]


Warnings << mav_planning_common:make /home/ssz/catkin_ws/mav_voxblox_planning/logs/mav_planning_common/build.make.000.log

At the Last of the terminal , it showed : Finished <<< ceres_catkin [ 1 minute and 45.4 seconds ] [build] Summary: 16 of 29 packages succeeded.
[build] Ignored: 6 packages were skipped or are blacklisted.
[build] Warnings: 6 packages succeeded with warnings.
[build] Abandoned: 12 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 2 minutes and 16.6 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.

So how can I solve this? Any suggestions? Thanks a lot.

Hao-Starrr commented 1 year ago
cd ~/catkin_ws/src
git clone https://github.com/ethz-asl/protobuf_catkin.git
catkin build protobuf_catkin

This repo does not provide protobuf_catkin. We just need to build it by ourselves.