ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Package build error, during ros kinetic installation in Rasbian buster.

asked 2020-03-10 02:21:20 -0500

subash gravatar image

updated 2020-03-10 03:28:50 -0500

gvdhoorn gravatar image

I am building the ros kinetic on my rasbian buster myself. And at about 188th of 191 packages to build, i encountered an error with building of the rviz package. I'm using raspberry pi 4 B with 4 GB RAM, and a memory card of 32 GB.

I also tried a solution for the same problem, but it didn't work for me. Applying the below solution i encountered another problem building the "rospack" around 56 out of 191 packages. solution i tried: #q337927.

Console Error:

==> Processing catkin package: 'rviz'
==> Building with env: '/opt/ros/kinetic/env.sh'
==> cmake /home/pi/ros_catkin_ws/src/rviz -DCATKIN_DEVEL_PREFIX=/home/pi/ros_catkin_ws/devel_isolated/rviz -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/home/pi/ros_catkin_ws/build_isolated/rviz'
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   signals
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- Assimp version has unified headers
-- Checking for modules 'OGRE;OGRE-Overlay'
--   No package 'OGRE' found
--   No package 'OGRE-Overlay' found
-- Checking for module 'OGRE'
--   No package 'OGRE' found
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:452 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal)
  CMakeLists.txt:53 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/home/pi/ros_catkin_ws/build_isolated/rviz/CMakeFiles/CMakeOutput.log".
See also "/home/pi/ros_catkin_ws/build_isolated/rviz/CMakeFiles/CMakeError.log".
<== Failed to process package 'rviz':
  Command '['/opt/ros/kinetic/env.sh', 'cmake', '/home/pi/ros_catkin_ws/src/rviz', '-DCATKIN_DEVEL_PREFIX=/home/pi/ros_catkin_ws/devel_isolated/rviz', '-DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1

Reproduce this error by running:
==> cd /home/pi/ros_catkin_ws/build_isolated/rviz && /opt/ros/kinetic/env.sh cmake /home/pi/ros_catkin_ws/src/rviz -DCATKIN_DEVEL_PREFIX=/home/pi/ros_catkin_ws/devel_isolated/rviz -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles'

Command failed, exiting.
edit retag flag offensive close merge delete

Comments

I also have the same problem.

mateusguilherme gravatar image mateusguilherme  ( 2020-03-11 14:35:01 -0500 )edit

After a lot of searching and experimenting I have found that after (only after) is fails for OGRE do this:

$ cd ~/ros_catkin_ws [should already be here]

$ sudo apt-get install -y libboost1.67-dev

$ sudo apt-get install -y libogre-1.9-dev

$ source /opt/ros/kinetic/setup.bash

$ rosdep update

$ sudo apt-get install -y libkml-dev

$ sudo apt-get install -y libgdal-dev

$ sudo -H apt-get install -y libvtk6-qt-dev

$ rosdep install --from-paths src --ignore-src --rosdistro kinetic -y

$ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic

Now it will install all 191. Is this good bad or indifferent? I don't know. I'm also new to this. I lost all my logs so I don't know who to thank for all the advice I have read over the last month or two. If you recognize your work, Thank You for posting advice.

Maybe some one can run this and tell me if ...(more)

Face gravatar image Face  ( 2020-08-08 22:23:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-11 18:10:56 -0500

mateusguilherme gravatar image
edit flag offensive delete link more

Comments

I had already applied the solution in the link, but it generated error during build of rospack in 56th out of 191 packages to install.

subash gravatar image subash  ( 2020-03-12 09:01:02 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-03-10 02:21:20 -0500

Seen: 543 times

Last updated: Mar 11 '20