Ask Your Question
-1

Run Opencv program on another computer fdffgd

asked 2013-05-17 05:26:02 -0600

Milanista gravatar image

Hello! Is it possible to run an OpenCV program on a computer where OpenCV isn't installed? If yes, how? (It gives an error- opencv_core243.dll missing) Thank you!

edit retag flag offensive close merge delete

Comments

Try to have a sane title for your question.

SR gravatar imageSR ( 2013-05-17 10:29:31 -0600 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2013-05-17 05:37:25 -0600

berak gravatar image

there's 2 ways:

  1. copy all opencv_* dlls to the other machine,
    • either to the same dir as the app is in,
    • or to a separate folder & setup the PATH var to point to it
  2. rebuild the opencv libs as static libs using cmake (untick the SHARED_LIBS box), then link your program against those. this will lead to a (huge) binary without dependancies to the opencv-dlls. (e.g. this is what the python-wrapper does)
edit flag offensive delete link more

Comments

Thank you, I´ll try !

Milanista gravatar imageMilanista ( 2013-05-17 08:10:30 -0600 )edit

Question Tools

Stats

Asked: 2013-05-17 05:26:02 -0600

Seen: 703 times

Last updated: May 17 '13