Closed GoogleCodeExporter closed 8 years ago
Yes, this is normal. The emulator doesn't support ARMv7. Refer to this thread
for more details:
http://groups.google.com/group/android-ndk/browse_thread/thread/a19fc6df3d661d79
Original comment by samuel.a...@gmail.com
on 21 Apr 2011 at 2:18
Thx for quick and valid information!
I have another related question! Is it possible to re-compile .so files for
emulator ARM version.
I like this port and I need it for teaching purpose (all students don't have
android phone) and we are using just basic function of openCV.
I found something that it looks that is possible on:
http://opencv.willowgarage.com/wiki/AndroidExperimental
...
"In android.toolchain.cmake change the ARM_TARGETS variable to "armeabi"
(default is "armeabi-v7a"), then recompile everything."
Thx!
Original comment by matej.cr...@gmail.com
on 22 Apr 2011 at 10:59
Sure, please refer to the README.txt file in this package:
http://javacv.googlecode.com/files/OpenCV-2.2.0-android.zip
Original comment by samuel.a...@gmail.com
on 22 Apr 2011 at 2:59
BTW, let me know if you're having issues recompiling OpenCV. I can easily do it
on my end, and send you the compiled files.
Original comment by samuel.a...@gmail.com
on 3 May 2011 at 7:24
Samuel, i've got same problem, could u please send me recompiled files?
Original comment by buh...@gmail.com
on 4 May 2011 at 9:15
Ok, I compiled OpenCV 2.2 for ARMv5 and it works in the emulator:
Original comment by samuel.a...@gmail.com
on 5 May 2011 at 4:43
Attachments:
Thanks a lot, works fine for me.
Original comment by buh...@gmail.com
on 5 May 2011 at 8:12
Samuel can you kindly recompile this for armv6 as well, as it is not working on
the phone like Samsung Galaxy mini and similar phones with armv6.
Also how can we force the application to load the shared libraries as per
architecture because the name of the shared libraries are same. Do I have to
keep them in some specific folder as I use to put the lib files in armeabi
folder directly for armv7.
Looking forward for your reply and comments
Original comment by jibran.a...@gmail.com
on 18 Jan 2012 at 11:55
The latest version contains binaries for ARMv5, and you can use those on your
ARMv6 devices. And yes we can pack an APK with both flavors of binaries and
have Android copy the right ones on installation. As per Android's
documentation, simply copy the ARMv5 ones under /libs/armeabi/ and the ARMv7
ones in /libs/armeabi-v7a/.
Original comment by samuel.a...@gmail.com
on 18 Jan 2012 at 12:03
Original issue reported on code.google.com by
matej.cr...@gmail.com
on 21 Apr 2011 at 1:55