When trying to execute the follow in a Terminal window:
cmake -D CMAKE_BUILD_TYPE=RELEASE
-D CMAKE_INSTALL_PREFIX=/usr/local
-D INSTALL_PYTHON_EXAMPLES=ON
-D INSTALL_C_EXAMPLES=OFF
-D OPENCV_ENABLE_NONFREE=ON
-D OPENCV_EXTRA_MODULES_PATH=~/projects/cv2/opencv_contrib/modules
-D PYTHON_EXECUTABLE=~/env/bin/python
-D BUILD_EXAMPLES=ON …/opencv
I get an error message on the last statement saying “source directory does not exist”. What should be put in the place of the two …/opencv
?
When I tried the command echo $(which python)
, I received the message /home/jetson/env/bin/python
.
What is the issue and how do i solve it?