-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fatal error: Eigen/Dense: No such file or directory while building #2326
Comments
building in which way? |
Make. After "cmake ..", I simply run make. |
Can you clear your cmake cache and share here what is the output of CMake configure? For some reason Eigen is not found or incomplete. |
[cmake] ** OpenMVG version: 2.1.0 |
seems fine. where or how your eigen installed? |
D:\eigen-3.4.0\eigen-3.4.0,I downloaded eigen from https://eigen.tuxfamily.org/index.php?title=Main_Page |
I cleared my CMake cache and then performed “cmake ../src” and "make", but "fatal error: Eigen/Dense: No such file or directory" still poped. |
This is weired, if you didn't tell cmake where your eigen installed or add eigen path to environment variable, cmake should use internal eigen but the log tells external eigen used. you can try to print the eigen path found by cmake. |
i added EIGEN_ROOT to environment variable and i use gcc on windows |
i deleted env EIGEN_ROOT to disable external eigen, and this error occured : |
i rebuilt OpenMVG with MSVC and it worked though i still can't figure out the reason. Thx for your help |
error occurs when
[ 49%] Building CXX object openMVG/features/CMakeFiles/openMVG_features.dir/akaze/AKAZE.cpp.obj
from D:\jichuang\openMVG\src\openMVG\features\akaze\AKAZE.cpp:9:
D:/jichuang/openMVG/src/openMVG/image/image_container.hpp:12:10: fatal error: Eigen/Dense: No such file or directory
#include <Eigen/Dense>
^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [openMVG/features/CMakeFiles/openMVG_features.dir/akaze/AKAZE.cpp.obj] error 1
make[1]: *** [openMVG/features/CMakeFiles/openMVG_features.dir/all] error 2
make: *** [all] error 2
Thx for any tips.
The text was updated successfully, but these errors were encountered: