I am doing a tutorial on how to install and use Opencv with Cmake. I have gotten through to a step that says Set OpenCV_DIR environment variable to path to Opencv install folder
and the directly after Set Path variable where Opencv is installed
. I am lost and all the tutorials / solutions I have looked at seem outdated or do not work. Please could someone show me how to do this. Thanks so much for any help.
Asked
Active
Viewed 3,160 times
0

Adam Strike
- 356
- 1
- 4
- 16
1 Answers
1
If you are using Windows, the quick way is to open CMake GUI application and change the variable wherever you want. For a Mac/Linux machine, command line might be your best choice, and this thread will be really helpful for you.

Stephen Rauch
- 47,830
- 31
- 106
- 135

Hilbert Z.
- 54
- 4