I am trying just a basic program with OpenCV with the following code:
#include \"cv.h\"
#include \"highgui.h\"
int main()
{
IplImage* newImg;
newImg
In Visual Studio 2013 you need to add this to the Environment Variables
and then Restart
your pc. This is the path where .dll file located in.
As to @Marc's answer, I don't think VC uses the path from the OS. Did you add the path to VC's library paths. I usually add the DLLs to the project and copy if newer on the build and that works very well for me.