I have troubles understanding the meaning of the OpenCV_DIR system variable. I am following this tutorial OpenCV: Installation in Windows but it is not clear to me if this variable has to be set with my current OpenCV library build or if it will hold the location of the binaries where I will build my project? Could someone clarify?
The particular steps where this is mentioned are entitled " Set the OpenCV environment variable and add it to the systems path" it is on bottom of the tuttorial page.
In case it has to be set with a folder from my OpenCV library, why I don’t see such a folder?
If you don’t use cmake you cannot see this message: -- You might need to add C:\tmp\install\opencv\x64\vc17\bin to your PATH to be able to run your applications.