initOpenCVLibs tries to load opencv_java, should be opencv_java3

asked 2015-06-10 07:06:56 -0600

FabianL gravatar image

updated 2015-06-11 03:16:25 -0600

berak gravatar image

Hey guys.

I don't know if this is the right place, but if it is not I still hope it reaches the right person.

In your 3.0.0 release you have a bug: initOpenCVLibs wants to load the library opencv_java, but it needs to be opencv_java3.

Hope this helps, as it took me quite some time to fix it (and it was more an accident that I stumbled upon this discrepancy.. So I am sure there are a few people out there that won't get their openCV to run and don't know why...)

Cheers, Fabian

edit retag flag offensive close merge delete

Comments

I suppose it may be the reason for my android problems, but I don't know where to fix this. Can you share your solution? ps. doesn§t matter for me, tried to rename lib file and pack renamed with my project, and no success with my problem

surcz gravatar imagesurcz ( 2015-06-11 02:37:33 -0600 )edit

Hey, just look for the function initOpenCVLibs :) Its hardcoded in there

FabianL gravatar imageFabianL ( 2015-06-12 05:02:32 -0600 )edit

or you can simply rename the .so file to opencv_java.so. The files should be inside jniLibs/<abi> directory.

puw gravatar imagepuw ( 2017-03-21 09:39:51 -0600 )edit