Building opencv_java246.so

asked 2015-04-26 01:21:03 -0600

bunty gravatar image

Hi All,

I have been trying to deploy a opencv application on unbuntu server, i have already installed opencv on server, But getting the error java.lang.UnsatisfiedLinkError: no opencv_java246 in java.library.path when trying run the application.

I can understand I am suppose to add opencv_java246.so to the path so that the application can pick this (while doing the dev in windows i was using the opencv_java246.dll bundled in the opencv distribution). But I am not sure where can I find the opencv_java246.so or how to build it in ubuntu...

Can anyone please guide me in this regard?

edit retag flag offensive close merge delete

Comments

you'll need cmake + ant + jdk. see here

(and ofc. come back, if you run into any trouble)

berak gravatar imageberak ( 2015-04-26 01:31:09 -0600 )edit

Thanks,looks I have manage to build directly executing right command in the java source dir

bunty gravatar imagebunty ( 2015-04-26 03:30:25 -0600 )edit