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

ROS in Arch linux

asked 2015-08-10 14:45:13 -0500

AbdealiJK gravatar image

updated 2022-01-22 16:16:31 -0500

Evgeny gravatar image

I'm trying to install ROS in Arch - and I was able to get installed.

After that I used the following in my bashrc and run rosenv before running ros commands: rosenv2 () { source /opt/ros/indigo/setup.bash export PYTHONPATH=/opt/ros/indigo/lib/python2.7/site-packages:$PYTHONPATH

  export ROS_PACKAGE_PATH=/opt/OGRE-1.8/lib/pkgconfig:/opt/ros/indigo/lib/pkgconfig:$ROS_PACKAGE_PATH


  # Useful aliases
  alias catkin_make="catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python2 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/"

  # If you use Gazebo:
  #source /usr/share/gazebo/

When I do catkin_make in one of my workspaces - I get the following error:

CMake Error at /usr/lib64/cmake/gazebo/gazebo-config.cmake:46 (find_package):
  By not providing "FindOGRE.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "OGRE", but
  CMake did not find one.

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


  Add the installation prefix of "OGRE" to CMAKE_PREFIX_PATH or set
  "OGRE_DIR" to a directory containing one of the above files.  If "OGRE"
  provides a separate development package or SDK, be sure it has been
Call Stack (most recent call first):
  gazebo_ros_pkgs/gazebo_ros/CMakeLists.txt:26 (find_package)

-- Configuring incomplete, errors occurred!

I've installed also (as suggested on the wiki page in ROS+Arch)

Any help on how to fix this ?

edit retag flag offensive close merge delete


You have source /usr/share/gazebo/ commented out in your rosenv2() function. The gazebo-config.cmake script might need something from the gazebo

hauptmech gravatar image hauptmech  ( 2015-12-01 16:05:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-27 01:30:32 -0500

bchr gravatar image

updated 2015-08-27 01:31:18 -0500

You should no longer need Ogre 1.8. It was required a while ago when RViz and Gazebo were not compatible with Ogre 1.9, but this is no longer the case. Which Wiki are you referring to? No such thing is written in the ROS wiki. If you also used Ogre 1.8 when compiling desktop_full, try to reinstall the packages that require Ogre directly or indirectly, then try again.

edit flag offensive delete link more

Question Tools


Asked: 2015-08-10 14:45:13 -0500

Seen: 1,188 times

Last updated: Aug 27 '15