This is the Raspberry Pi screen.
pi@raspberrypi:~$cmake-DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules/../opencv/
CMake Error: The source directory"/home/opencv" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
pi@raspberrypi:~$
The error indicates that the current directory running the cmake command is /home/pi
, while the ../opencv/
=/home/opencv/
does not exist for the command argument.
© 2024 OneMinuteCode. All rights reserved.