0

For setting up JetRacer the following commands I use are:

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 

I then typed the statement:

-D BUILD_EXAMPLES=ON /home/jetson/env/bin/python/opencv

And received the message:

The source directory /home/jetson/env/bin/python/opencv does not exist

How do I fix this problem?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.