Skip to content

fatal error: Eigen/Core: No such file or directory #14868

@baqwas

Description

@baqwas

Hello,

I've:

  • Read the documentation to build with the latest source
  • No other person has already created the same issue with current build
  • Using cut-n-paste below to the extent practical
  • Reporting a single issue
System information (version)

matha@myUbuntu:~/projects/opencv/build$ uname -a
Linux BeUlta 5.0.0-17-generic #18-Ubuntu SMP Tue Jun 4 15:34:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Detailed description
[ 14%] Building CXX object modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/opencv_test_core_pch_dephelp.cxx.o
In file included from /home/chowkidar/projects/opencv/modules/core/test/test_precomp.hpp:12,
                 from /home/chowkidar/projects/opencv/build/modules/core/opencv_test_core_pch_dephelp.cxx:1:
/home/chowkidar/projects/opencv/modules/core/include/opencv2/core/private.hpp:66:12: fatal error: Eigen/Core: No such file or directory
 #  include <Eigen/Core>
            ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/build.make:63: modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/opencv_test_core_pch_dephelp.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2715: modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
chowkidar@BeUlta:~/projects/opencv/build$ 

How to get past this error for the make command? (all steps performed documented in attachment).

Thanks.
OpenCV installation.txt

P.S. I have built OpenCV on many platforms previously.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions