Hi All, I am building OpenCV3.4 on Jetson Nano
$ uname -a
Linux paralaxiom-jetson 4.9.140-tegra #1 SMP PREEMPT Wed Mar 13 00:32:22 PDT 2019 aarch64 aarch64 aarch64 GNU/Linux
I have followed the steps as indicated here > https://raw.githubusercontent.com/spmallick/learnopencv/master/InstallScripts/installOpenCV-3-on-Ubuntu-18-04.sh with some very minor changes in python only. I have also installed libeigen3-dev and the files are all in right location, as indicated below:
$ pkg-config --cflags opencv eigen3
-I/usr/local/include/opencv -I/usr/local/include -I/usr/include/eigen3
At the time of compilation, there is an error and the compilation terminates.
In file included from /home/p/kshitij/opencv/modules/core/test/test_precomp.hpp:12:0,
from /home/p/kshitij/opencv/build/modules/core/opencv_test_core_pch_dephelp.cxx:1:
/home/p/kshitij/opencv/modules/core/include/opencv2/core/private.hpp:66:12: fatal error: Eigen/Core: No such file or directory
# include <Eigen/Core>
^~~~~~~~~~~~
compilation terminated.
modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/build.make:62: recipe for target 'modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/opencv_test_core_pch_dephelp.cxx.o' failed
make[2]: *** [modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/opencv_test_core_pch_dephelp.cxx.o] Error 1
CMakeFiles/Makefile2:2627: recipe for target 'modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/all' failed
make[1]: *** [modules/core/CMakeFiles/opencv_test_core_pch_dephelp.dir/all] Error 2
Requesting help from the members of the forum.
Thanks, kshitij