Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'EIGEN3_INCLUDE_DIR-NOTFOUND' not set properly #96

Closed
42f87d89 opened this issue May 6, 2015 · 6 comments
Closed

'EIGEN3_INCLUDE_DIR-NOTFOUND' not set properly #96

42f87d89 opened this issue May 6, 2015 · 6 comments

Comments

@42f87d89
Copy link

42f87d89 commented May 6, 2015

When building tf with catkin_make, the build stops with this error.

CMake Error at /home/pi/ros_catkin_ws/devel/share/kdl_conversions/cmak /kdl_conversionsConfig.cmake:
106 (message):
  Project 'kdl_conversions' specifies 'EIGEN3_INCLUDE_DIR-NOTFOUND' as an
  include dir, which is not found.  It does neither exist as an absolute
  directory nor in
  '/home/pi/ros_catkin_ws/src/tf/kdl_conversions/EIGEN3_INCLUDE_DIR-NOTFOUND'.
  Ask the maintainer 'Tully Foote <tfoote@osrfoundation.org>' to fix it.
Call Stack (most recent call first):
  /home/pi/ros_catkin_ws/devel/share/catkin/cmake/catkinConfig.cmake:75 (find_package)
  tf/tf_conversions/CMakeLists.txt:5 (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:
EIGEN3_INCLUDE_DIR
   used as include directory in directory /home/pi/ros_catkin_ws/src/tf/eigen_conversions
   used as include directory in directory /home/pi/ros_catkin_ws/src/tf/kdl_conversions

make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
@tfoote
Copy link
Member

tfoote commented May 6, 2015

Can you provide instructions how to reproduce this error? kdl_conversions has no references to eigen3 in the package.xml or CMakeLists.txt

@42f87d89
Copy link
Author

42f87d89 commented May 7, 2015

I'm not sure.

While trying to build gmapping, I kept adding any package that was in the dependency tree manually, and attempting to build after each addition.

Once I got to tf, I've been stumped by this error.

@42f87d89
Copy link
Author

42f87d89 commented May 7, 2015

Ok, if I remove the gmapping package from my catkin src directory, I can build it. But once I add the gmapping package this error occurs.

Why in the world does this error mention tf but not gmapping?

@tfoote
Copy link
Member

tfoote commented May 7, 2015

At the bottom of the stack trace it's actually a problem when evaluating the tf_conversions which has a dependency on eigen3 which you must be missing.

Instead of randomly installing dependencies I suggest you checkout the rosinstall generator

@42f87d89
Copy link
Author

42f87d89 commented May 8, 2015

Thank you for your time.

I apologise for opening an issue that was not related to your project.

@tfoote
Copy link
Member

tfoote commented May 8, 2015

no problem. The traceback was not clear.

@tfoote tfoote closed this as completed May 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants