I want to compile an opencv Console C++ program in Visual Studio 2013. This is my code:
#include \"stdafx.h\"
#include \"opencv2/highgui/highgui.hpp\"
#inclu
Best and simple solution is
Add path_variable of OpenCV/build/x64/bin in environment system variables.
And then restart the visual studio.
this definitely will solve the problem.
the problem might be you've updated the path variable after opening the visual studio so it can't update the *.dll files.