Newbie question about package and system dependency

asked 2014-11-20 14:41:44 -0500

green96 gravatar image

Hi, I would like to detect tags, I was going to use ar_pose. In paragraph '3 Examples' it is recommended to download ccny_vision, I found package here

in this package there is rosdep.yaml file. This file consist:

  debian: libglut3-dev
  fedora: freeglut-devel
  arch: freeglut
  gentoo: freeglut

So if I understand in good way, without this libs it will not work?

I used:

rosdep install --from-paths src --ignore-src --rosdistro=indigo -y

but when I call catkin_make I get this error:

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)
  ccny_vision/libartoolkit/CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/przemek/tum_simulator_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/przemek/tum_simulator_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Błąd 1
Invoking "make cmake_check_build_system" failed

I tried to locate this file libglut3-dev on my hdd but I can't find it.

So, could you tell me:

Dependencies (9): artoolkit cv_bridge geometry_msgs glut image_transport opencv2 resource_retriever tf visualization_msgs

  • Before I install ar_pose I should manually check which of this packages I have installed and when I install all this dependencies I should try to install ar_pose?
edit retag flag offensive close merge delete



It looks like your error is in building the ccny_vision package. It looks to me like there is a problem with their rosdep file (at least on newer Ubuntus). Assuming you're on Ubuntu, try installing freeglut3-dev. You might also need libv4l-dev.

jarvisschultz gravatar image jarvisschultz  ( 2014-11-20 21:30:17 -0500 )edit

Thank you so much!

green96 gravatar image green96  ( 2014-11-21 16:47:10 -0500 )edit