error 2 while make-process (task: install OpenCV on Raspi 3b+ OS: Stretch)

asked 2019-08-01 08:48:25 -0500

Zorni gravatar image

updated 2019-08-01 09:33:34 -0500

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

edit retag flag offensive close merge delete


which compiler do you try to use ?

berak gravatar imageberak ( 2019-08-01 08:55:06 -0500 )edit

I work in the console. I deliberately do not use a special compiler. I was using this guide if it helps:

Zorni gravatar imageZorni ( 2019-08-01 09:07:15 -0500 )edit

which os, even ?

berak gravatar imageberak ( 2019-08-01 09:20:57 -0500 )edit

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian

Zorni gravatar imageZorni ( 2019-08-01 09:24:34 -0500 )edit