0

I'm just follow the tutorial to setup the android opencv and try to run the sample of face-detection.

But it had the errors as shown: error msg

I had google around but still can't find the solution. Any idea how to solve it? I'm using ndk-r10, elipse juno 4.2, & opencv android 2.4.9

1 Answer 1

1

which ndk-r10 are you using ? The one for 32-bit target, 64-bit target, or both ?

From your error I see a reference to arm64-v8a which is a 64-bit target, but the OpenCV SDK is only precompiled for armeabi, armeabi-v7a, mips and x86.

If you want to compile your project for 64-bit Android targets, you'll need to recompile OpenCV first but I don't know if it's already supported yet.

Sign up to request clarification or add additional context in comments.

2 Comments

I use the "android-ndk64-r10-windows-x86_64.zip" which is Windows 64-bit target. After that I try to use the "android-ndk-r9-windows-x86_64.zip" and this shown another error.
And for what target do you want to compile ? To restrict compilation to 32-bit targets for those OpenCV is already compiled, you can set APP_ABI := all32 inside Application.mk

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.