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

Could not Compile with OMPL (Missing Eigen soln doesn't work) #32

Open
TemG-Kristos opened this issue Jun 10, 2020 · 1 comment
Open

Comments

@TemG-Kristos
Copy link

I am trying to install Amino (before installing tmkit) on a Docker container that uses Ubuntu 18.04. When I try to run ./configure, I get the following:

checking bundled TypedSpaceInformation.h... no
checking compat TypedSpaceInformation.h using boost::shared_ptr... no
checking compat TypedSpaceInformation.h using std::shared_ptr... no
configure: error: Could not compile with OMPL TypedSpaceInformation

According to my config.log file (attached blow), the issue seems to be the Missing Eigen Dependency. I tried the Missing Eigen Dependency fix from the Amino Install page, but I still get the same error. Is there another way to resolve this issue when the recommended fix fails?

config.log

@ndantam
Copy link
Member

ndantam commented Jun 10, 2020

Sounds like issue with the pkg-config file for some versions of OMPL missing the Eigen dependency. From the INSTALL file:

OMPL Missing Eigen dependency

Version 1.4.2 of OMPL and the corresponding Debian/Ubuntu packages are missing a required dependency on libeigen. To resolve, you may need to do the following:

  1. Manually install libeigen:

     sudo apt-get install libeigen3-dev
    
  2. Manually add the eigen include directory to the ompl pkg-config file. The ompl pkg-config file will typically be in /usr/lib/x86_64-linux-gnu/pkgconfig/ompl.pc. The eigen include path will typically be /usr/include/eigen3. Thus, you may change the Cflags entry in /usr/lib/x86_64-linux-gnu/pkgconfig/ompl.pc to:

     Cflags: -I${includedir} -I/usr/include/eigen3
    

From your config.log, it looks like some packages are installed via ROS. Please check where libeigen is installed and ensure that the pkg-config file for Eigen / OMPL match those paths.

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