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

Unable to locate the package: handle_detector

asked 2015-07-07 10:38:55 -0500

Caba gravatar image

Hi all,

I am not able to locate the package handle_detector in the repositories for ros indigo, although in the Ros Wiki say that it sould there be for indigo.

Morevoer, If I try to compile it from the source I get this error:

CMake Error at handle_detector/CMakeLists.txt:21 (find_package):
  By not providing "FindEigen.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Eigen", but
  CMake did not find one.

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

    EigenConfig.cmake
    eigen-config.cmake

  Add the installation prefix of "Eigen" to CMAKE_PREFIX_PATH or set
  "Eigen_DIR" to a directory containing one of the above files.  If "Eigen"
  provides a separate development package or SDK, be sure it has been
  installed.

I don't have high knowledge of c++ and ros. I understand that it doesn't find the package Eigen, but I have installed all the ros packages of Eigen:

sudo apt-get install ros-indigo-eigen-*

And moreover I also have the Eigen library installied in my pc.

I Have no idea how to fix the problem. I just want to use that package and whatever method (by repository or by source) is ok for me.

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2015-07-07 11:34:10 -0500

updated 2015-07-07 11:37:10 -0500

When linking to Eigen, the problem is that Eigen does not provide a proper CMake module in order to find the location of the libraries, so that EigenConfig.cmake or eigen-config.cmake cannot be found.

Take a look at this answer: http://stackoverflow.com/questions/30...

Additionally, I do not know how it works, but not all packages in the wiki can be found through apt-get, it is common that you have to use some of them from source.

edit flag offensive delete link more

Comments

Thanks, that resolved the problem :)

Moreover, If I only change in the CMakeLists.txt the Eigen with Eigen3 is working without any further changes.

Caba gravatar image Caba  ( 2015-07-08 08:18:21 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-07 10:38:55 -0500

Seen: 546 times

Last updated: Jul 07 '15