App exportation
Hi,
Just a silly question. If I compile an app using OpenCV so as to run it on another computer, do I need to install OpenCV on the target computer, or add some .dll ?
Thanks for your answer
Lucas
Hi,
Just a silly question. If I compile an app using OpenCV so as to run it on another computer, do I need to install OpenCV on the target computer, or add some .dll ?
Thanks for your answer
Lucas
there are 2 cases:
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 )
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
Asked: 2013-07-12 04:16:24 -0600
Seen: 153 times
Last updated: Jul 12 '13