Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There were some Build Errors. #83

Open
SSZ1 opened this issue Aug 27, 2022 · 1 comment
Open

There were some Build Errors. #83

SSZ1 opened this issue Aug 27, 2022 · 1 comment

Comments

@SSZ1
Copy link

SSZ1 commented Aug 27, 2022

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants