Robotics StackExchange | Archived questions

Object Recognition Kitchen CMake Fail

To Whom It May Concern,

As an FYI, I am using ROS Indigo and Ubuntu 14.04. Also, I am fairly new to ROS. I am trying to install the object recognition kitchen using the commandas included below.

mkdir ws && cd ws
wstool init src https://raw.github.com/wg-perception/object_recognition_core/master/doc/source/ork.rosinstall
cd src && wstool update -j8
cd .. && rosdep install --from-paths src -i -y
catkin_make
source devel/setup.bash 

I was able to resolve a number of errors, but I can't resolve the one include below.

CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a package configuration file provided by "moveit_core" with
  any of the following names:

    moveit_coreConfig.cmake
    moveit_core-config.cmake

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


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLUT_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/cmobley7/catkin_ws/ws/src/ork_renderer/src
   used as include directory in directory /home/cmobley7/catkin_ws/ws/src/ork_renderer/src
   used as include directory in directory /home/cmobley7/catkin_ws/ws/src/ork_renderer/src
   used as include directory in directory /home/cmobley7/catkin_ws/ws/src/ork_renderer/src/apps

-- Configuring incomplete, errors occurred!
See also "/home/cmobley7/catkin_ws/ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/cmobley7/catkin_ws/ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

I have tried to fix this in two way.

1) I downloaded moveit from https://github.com/ros-planning/moveit_ros and attempted to make it. This resulted in the error below.

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindGLUT.cmake:82 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  moveit/perception/CMakeLists.txt:14 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/cmobley7/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/cmobley7/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

2) I downloaded the moveitcore package and tried to make it, it wanted moveitmsgs, which wanted octomap which depended on metadata "ros" which is outdated.

Any help you could give would be greatly appreciated.

Very Respectfully,

Chris

Asked by CMobley7 on 2014-10-31 15:44:59 UTC

Comments

Answers

Why don't you just do this:

sudo apt-get install ros-indigo-moveit-core

may the force of APT be with you.

Asked by Mehdi. on 2014-11-02 20:22:20 UTC

Comments

This approach works on Jade version too! Thanks!

Asked by willSapgreen on 2016-05-01 18:11:25 UTC

worked for me "sudo apt-get install ros-indigo-moveit"

Asked by abhay2302 on 2017-05-17 03:48:53 UTC