Ask Your Question
0

No package 'OGRE', 'OGRE-Overlay' found: ROS/kinetic/RPi

asked 2019-11-18 23:30:13 -0500

Ashkr gravatar image

updated 2020-07-27 18:47:24 -0500

jayess gravatar image

Hi, Please help me to resolve this issue while setting up ROS on RPi3 (buster).

error log:

==> 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.

I had followed this tutorial step by step.

spent lot of time in searching the solution for this issue, couldn't find the proper solution.

Please help.

edit retag flag offensive close merge delete

Comments

Similar problem occured with me but it didn't work for me. After doing this i encountered error in rospack build error. My Query: https://answers.ros.org/question/3463...

subash gravatar image subash  ( 2020-03-11 02:56:22 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2019-11-21 18:18:29 -0500

Ashkr gravatar image

Since I tried a lot to find the solution of the error i was facing....failed to find any! :(

Finally i reviewed the error in detail and make suitable installation further....

hope this helps some how. For me it works...

for rviz,OGRE Not Found error:

sudo aptitude install libboost-thread-dev (YES)

sudo apt-get install libogre-1.9-dev ogre-1.9-doc ogre-1.9-tools (YES)

Thanks!

edit flag offensive delete link more

Comments

1

Applying the solution you recommended i got an error building the rospack in 56th out of 191 packages. I don't know, but it seems libogre-1.9-dev is for ros melodic while i am trying to build ros-kinetic. Still unable to use the ros platform in raspberry pi. Please help!

subash gravatar image subash  ( 2020-03-11 22:13:58 -0500 )edit

you did'nt build ogre with freetype lib. so is why overlay and terrain components missing

waranmt gravatar image waranmt  ( 2020-12-19 11:32:31 -0500 )edit
0

answered 2020-10-13 11:02:25 -0500

manmachine_x gravatar image

updated 2020-10-24 16:43:47 -0500

I followed a tutorial and it works for me! The turorial is in another language though^^

For your convenience, the main procedure is :

  1. Install the dependency by

    sudo apt install build-essential automake libtool libfreetype6-dev libfreeimage-dev libzzip-dev libxrandr-dev libxaw7-dev freeglut3-dev libgl1-mesa-dev libglu1-mesa-dev libpoco-dev libtbb-dev doxygen libcppunit-dev

  2. Download _orge v1.8_ source code and complie.

    $ cd ogre
    $ mkdir build && cd build
    $ cmake ..
    $ make
    $ sudo make install

If you are using gcc-8 you might need to set to former version using:

cmake -DCMAKE_CXX_FLAGS="--std=gnu++98" ..

Solutions to other installation errors for Kinetic on pi 4 could be available in the same tutorial.

edit flag offensive delete link more
0

answered 2020-07-27 09:55:26 -0500

Face gravatar image

The problem with running the above command is that when you install libboost-thread-dev it comes up with more missing packages. Till all is said and done it installs the updated version libboost1.67-dev. The ROS Kinetic install requires libboost1.58 which is removed in the process. Then you will go around in circles trying to fix the problems this creates. I do not know how to accomplish installing OGRE without v-1.67 of libboost. I have searched for weeks. Hopefully someone else does.

edit flag offensive delete link more

Comments

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-07 10:06:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-11-18 23:30:13 -0500

Seen: 772 times

Last updated: Oct 24 '20