Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

there are 2 cases:

  • dynamic linking:

that's the default. if you're using the prebuild libs

your program gets linked against dynamic libs(dll's/so's). you'll need them on the target machine as well ( in the same folder, or by adjusting the PATH var so that it points to their location )

  • static linking

you can rebuild the opencv libs with BUILD_SHARED_LIBS=OFF ( cmake/cmake-gui ).

when you link your program against those libs, you'll get a huge all-in-one binary without further (opencv) dependancies.

tools like http://www.dependencywalker.com are quite helpful for checking