Ask Your Question
0

how do i create a runnable jar that use opencv

asked 2012-11-27 16:20:10 -0600

Hi everyone. i've opencv installed on my laptop it works like a sharm i can generane runnable jars and execute them on my machine,but when i try to run on another laptop it fails with this error :unsatisfied link error I thing that i should link staticly libs into my jar file -> any issues with that ? thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-05-22 09:30:16 -0600

keltik gravatar image

updated 2013-05-22 09:38:33 -0600

You must supply the c++ dll AND the openCV-jar to the jar file at jar creation time. Although i am not sure how to do it, i am sure about that this is the error, because the same error happens when forgetting to add the dll to the classpath.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-11-27 16:20:10 -0600

Seen: 885 times

Last updated: Sep 22 '13