Adam Strike
Adam Strike

Reputation: 395

How to set OpenCv Environment Variable and Path Variable on a Mac?

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.

Upvotes: 0

Views: 3589

Answers (1)

Hilbert Z.
Hilbert Z.

Reputation: 54

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.

Upvotes: 1

Related Questions