fatal error: Eigen/Core: No such file or directory compilation terminated
10,872
Solution 1
Including directory /usr/local/include/eigen3/
solved this for me.
Like this, for example:
g++ -I/usr/local/include/eigen3/ CODE.cpp -o EXECUTABLE
Solution 2
Try to install eigen3 library,
on Ubuntu it would be
sudo apt-get install libeigen3-dev
Author by
Laetis
Updated on June 05, 2022Comments
-
Laetis almost 2 years
I recently change my OS to the last mint cinamon. Compiling one of the library I need (and that I used to used without problem), I get this message:
fatal error: Eigen/Core: No such file or directory compilation terminated.
I don't know what to do. Thanks for the help.