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

Don't use absolute path in #include directive #6

Open
vp1981 opened this issue Feb 15, 2021 · 0 comments
Open

Don't use absolute path in #include directive #6

vp1981 opened this issue Feb 15, 2021 · 0 comments

Comments

@vp1981
Copy link
Collaborator

vp1981 commented Feb 15, 2021

The Eigen library is included by it's full (absolute) path

#include </usr/include/eigen3/Eigen/Dense>

this is uncommon and very system-dependent. Try simple

#include <Eigen/Dense>

and if that doesn't work update Makefile or your build tool to pass path to the "include" directory like

g++ ... -I /usr/include/eigen3
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

1 participant