I'm trying to install Opencv 3.3.0 in raspberry pi 3 and I'm following this instruction link
But I faced error whenever I'm running -
cmake -D CMAKE_BUILD_TYPE=RELEASE
-D CMAKE_INSTALL_PREFIX=/usr/local
-D INSTALL_PYTHON_EXAMPLES=ON
DENABLE_PRECOMPILED_HEADERS=OFF
-D OPENCV_EXTRA_MODULES_PATH=~/opencv_contrib-3.1.0/modules
-D BUILD_EXAMPLES=ON ..
Here's my output of cmake command
Whenever I'm hitting make command It's showing me No makefile has been found. And If I copy a makefile from somewhere else to this directory It's showing me a new error like this one!!
One thing need to be mentioned is I'm completely new to raspberry pi and tried every possible way to avoid this error but this error isn't avoiding me . Wishing great help from the Expert .
1st Solution
delete all the files from the build folder and run the cmake command again, cmake is loading the previously generated cmakeerror.log file.
2nd Solution
use the cmake GUI its more convenient, you can download it from here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.