Eigen: Eigen/Core: No such file or directory

Share:
## Eigen/Core: No such file or directory ```sh [ 25%] Building CXX object CMakeFiles/useSophus.dir/useSophus.cpp.o /home/yubao/data/project/slambook2/useSophus/useSophus.cpp:3:10: fatal error: Eigen/Core: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. CMakeFiles/useSophus.dir/build.make:62: recipe for target 'CMakeFiles/useSophus.dir/useSophus.cpp.o' failed make[2]: *** [CMakeFiles/useSophus.dir/useSophus.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/useSophus.dir/all' failed make[1]: *** [CMakeFiles/useSophus.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 ➜ build git:(master) ✗ ``` Solution: ```cpp #include ``` Refer: https://github.com/wjakob/nanogui/issues/356 ![yubao_blog_cover](https://raw.githubusercontent.com/yubaoliu/assets/image/yubao_blog_cover.png)

No comments