Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

it probably gets easier to understand, once you split it up in 3 stages:

  • the compiler has to find the code and the includes (yes, opencv\build\include is the right answer here)

  • the linker has to find libraries ( .lib files, not dlls, you're wrong here, the path for that should be: opencv\build\x64\vc12\lib )

  • once your program compiled & linked ok, the exe has to find the dlls ( that's where you need opencv\build\x64\vc11\bin to be on the PATH environment var)