-
Notifications
You must be signed in to change notification settings - Fork 36
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
The "make" step fails on Ubuntu 18.04.5 LTS #14
Comments
OK. So if I change from in all of the 15-20 files that use it then it seems to go through. Is it possible to #define this in some way for this OS? |
Hi sir, Thanks in advance |
@scientistbala , fix suggested by skanga works. just open the header file mentioned in the error message and replace "Eigen/Dense" with "eigen3/Eigen/Dense". |
hi sir, Thanks in advance |
Its mentioned in the error msg itself. for example, for the error in the first comment (/home/skanga/Downloads/multicopter_design/externals/opengl_viewer/projects/opengl_viewer/include/bounding_box.h) |
@scientistbala There are a LOT of files that have this include. Running a build and fixing each file that has the error will get PAINFUL but it will work. Instead, I would recommend doing a "find" to locate all files in tree with this string and then automating the replacement. |
These are all the files you need to fix ./projects/copter_simulation/include/design_problem.h |
Thank u, sir It worked. |
[ 54%] Linking C executable tearing
[ 54%] Built target tearing
Scanning dependencies of target docs
[ 54%] Generating HTML documentation
[ 54%] Built target docs
Scanning dependencies of target opengl_viewer
[ 54%] Building CXX object externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/src/bounding_box.cpp.o
In file included from /home/skanga/Downloads/multicopter_design/externals/opengl_viewer/projects/opengl_viewer/src/bounding_box.cpp:17:0:
/home/skanga/Downloads/multicopter_design/externals/opengl_viewer/projects/opengl_viewer/include/bounding_box.h:20:10: fatal error: Eigen/Dense: No such file or directory
#include "Eigen/Dense"
^~~~~~~~~~~~~
compilation terminated.
externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/build.make:62: recipe for target 'externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/src/bounding_box.cpp.o' failed
make[2]: *** [externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/src/bounding_box.cpp.o] Error 1
CMakeFiles/Makefile2:1385: recipe for target 'externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/all' failed
make[1]: *** [externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: