-
Notifications
You must be signed in to change notification settings - Fork 267
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
Unsatisfied link error #24
Comments
Hi, I think the root cause is that I forget to sync the submodule, dlib-android-app. |
@tzutalin I just tried with the latest by doing the following:
It is still the same. Anything else I could try? |
I just peeked into the symbols. These methods indeed exist in the file: "libpeople_det.so".
I went back the dlib-android-app and I found the issue to be the following.
This is happening only when I build it locally :( |
This seems related: http://stackoverflow.com/questions/39541599/error-loading-package-jni-cannot-locate-symbol-aeabi-memcpy and this android/ndk#126 |
In our case both compileSdkVersion and targetSdkVersion are same. Even my device is Android 6 (23). It worked when I changed APP_PLATFORM parameter. My Application.mk looks like this:
Yet to figure out why this worked :) |
@abhilashi , |
I find error i set dlib in new project |
The default "libpeople_det.so" included in the repo works. But when I build it locally on my machine I end up with UnsatisfiedLinkError.
OS: mac OS sierra
ndk version: android-ndk-r12b
Another log:
Steps to reproduce:
Any pointers on where I should look next? ( I haven't changed anything in the repo. Just ran an ndk-build after cloning the repo.)
The text was updated successfully, but these errors were encountered: