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

#include <Eigen/Core> has moved to <eigen3/Eigen/Core> on some (?) Ubuntu distributions #81

Open
brianjzhang opened this issue Aug 24, 2021 · 2 comments

Comments

@brianjzhang
Copy link

When trying to use the package, I got an include error that I fixed based on this similar error: opencv/opencv#14868

It's just a change to line 47 in laser_geometry.h:
#include <**eigen3**/Eigen/Core>

I am on ROS Noetic/Ubuntu 20.04. It doesn't look like there is a branch for noetic, but there is a ros-noetic-laser-geometry package that might be broken for others as well, so this might be a nice little fix if you have a moment. Alternatively, it might break others' setups - not too sure, sorry.

@kikass13
Copy link

kikass13 commented Jan 3, 2023

still broken for foxy as well

@daizhirui
Copy link

A quick workaround is

sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen

or

sudo ln -s /usr/local/include/eigen3/Eigen /usr/local/include/Eigen

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

3 participants