-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find lib libjniopencv_core.so #572
Comments
Please try again with JavaCV 1.2. |
changed my gradle to
and still the same error |
I cannot use javaCV 1.2 because some classes have been changed. My problem still persists. How can I add libjniopencv_core.so |
I do not use System.loadLibrary in my project. Isn't linker responsible for fixing loadLibrary? |
My question is not answered however. I still get the UnsatisfiedLinkError exception when I am trying to execure |
Ok, try this workaround: #470 (comment) |
I am already using openCV 2.4.1 and as I said I do not load any libraries dynamically, except for the
this workaround suggests that I should call
Tried to load the library the same error persists |
Well, if you would like to update to JavaCV 1.2, please tell me about what API changes you are having problems with and I could help you with that. |
Ok thank you very much for your support. Right now, I do not know why, but without having changed anything, the code works.. sometimes. Let me explain. As I said I use in my project openCV 2.4.1 I use a javaCV and javacpp jars which I cannot accurately tell you their version as this is a legacy code handed onto me. And by downloading the openCV sdk for android I installed in my phone the openCV manager 2.4.10.0 rev1 for armv7a neon. When I start the application it prompts for a openCV manager to be installed, then I choose no as There already is an openCV manager. Then I go run openCV manager and switch the to app again, then It runs as it should. Can you guess why this bug appears? Thank you again for your support |
Sounds like a bug with the OpenCV Manager. That's unrelated to JavaCV. |
Cannot tell for sure, Is there any way to incorporate openCV manager dependant files into my application in order not to need to have openCV manager installed? |
That's what JavaCV does, so use JavaCV instead of OpenCV Manager. |
But there are some classes that are within the openCV and not in JavaCV like the |
I can post the imports that are in the openCV framework and not in the javaCV to check if we can resolve the conflicts. |
Well, you'll need to do some refactoring if you want to get rid of CvCameraViewListener2. There isn't a drop in replacement for that. |
Look as I said this is a legacy code and CVCameraViewListener2 is just an example there are other classes too, I do not believe it is worthwhile. So, In your opinion not finding the manager is a openCV issue rather that a javaCV? |
Yes, JavaCV doesn't use the manager. |
ok thanks :) |
Hello, I am trying to use openCV in a face recognition application. I have included openCV3.1 in my project following issue #5862, but my application still crashes. I get the exception:
following issue #314 I changed my gradle to
`dependencies {
compile project(':openCVLibrary310')
compile files('libs/javacpp.jar')
compile files('libs/javacv.jar')
}
`
The text was updated successfully, but these errors were encountered: