CMake Error: The source directory"/home/opencv" does not exist. on Raspberry Pi

Asked 2 years ago, Updated 2 years ago, 67 views

This is the Raspberry Pi screen.

Enter a description of the image here

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:~$

linux opencv raspberry-pi

2022-09-29 21:51

1 Answers

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.


2022-09-29 21:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.