error 2 while make-process (task: install OpenCV on Raspi 3b+ OS: Stretch)
Hello everyone,
I tried to install OpenCV on my Raspberry Pi. I came across the following error message:
[ 12%] Building CXX object modules/ts/CMakeFiles/opencv_ts_pch_dephelp.dir/opencv_ts_pch_dephelp.cxx.o
In file included from /home/pi/opencv/modules/ts/src/precomp.hpp:4:0,
from /home/pi/opencv/build/modules/ts/opencv_ts_pch_dephelp.cxx:1:
/home/pi/opencv/modules/core/include/opencv2/core/private.hpp:66:24: fatal error: Eigen/Core: Datei oder Verzeichnis nicht gefunden
# include <Eigen/Core>
^
compilation terminated.
modules/ts/CMakeFiles/opencv_ts_pch_dephelp.dir/build.make:62: die Regel für Ziel „modules/ts/CMakeFiles/opencv_ts_pch_dephelp.dir/opencv_ts_pch_dephelp.cxx.o“ scheiterte
make[2]: *** [modules/ts/CMakeFiles/opencv_ts_pch_dephelp.dir/opencv_ts_pch_dephelp.cxx.o] Fehler 1
CMakeFiles/Makefile2:14490: die Regel für Ziel „modules/ts/CMakeFiles/opencv_ts_pch_dephelp.dir/all“ scheiterte
make[1]: *** [modules/ts/CMakeFiles/opencv_ts_pch_dephelp.dir/all] Fehler 2
Makefile:160: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
I use a Raspberry Pi 3b + with the operating system Raspbian (Version: Stretch).
How can I fix this?
best regards
which compiler do you try to use ?
I work in the console. I deliberately do not use a special compiler. I was using this guide if it helps: https://www.learnopencv.com/install-o...
which os, even ?
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian