Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

libpng fails to build on ARMv8 #102

Closed
rmtheis opened this issue Aug 3, 2015 · 3 comments · Fixed by #124
Closed

libpng fails to build on ARMv8 #102

rmtheis opened this issue Aug 3, 2015 · 3 comments · Fixed by #124
Labels

Comments

@rmtheis
Copy link
Owner

rmtheis commented Aug 3, 2015

./obj/local/arm64-v8a/objs/png/pngrutil.o: In function `png_init_filter_functions':
/home/theis/ocr/tess/tess-two/jni/libpng/pngrutil.c:3942: undefined reference to `png_init_filter_functions_neon'
@rmtheis rmtheis added the bug label Aug 3, 2015
@steverichey
Copy link

Updating to libpng 1.7.0 seems to fix this. see below

@rmtheis rmtheis mentioned this issue Sep 3, 2015
@longnguyencmg
Copy link

Can you please help to check this error?

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.halosolutions..../base.apk"],nativeLibraryDirectories=[/data/app/com.halosolutions..../lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "liblept.so"

@steverichey
Copy link

Messing with libpng/Android.mk to ensure that the libpng/arm files are built before the common_SRC_FILES are built seems to do the trick; on a recent attempt, I was unable to use libpng 1.7 to fix the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants