简体   繁体   中英

Error compiling mupdf library android

I am compiling mupdf 1.2 from here it does not have any sub directory generated but when I try to compile uding

 $ndk-build

in cygwin this error occurs

 jni/../../pdf/pdf_cmap_table.c:5:35: fatal error: ../generated/cmap_cns.h: 
 No such file or directory compilation terminated.
 /cygdrive/c/android-ndk-r8e/build/core/build-binary.mk:269: recipe for target 
 `obj/local/armeabi/objs/mupdfcore/__/__/pdf/pdf_cmap_table.o' failed
 make: *** [obj/local/armeabi/objs/mupdfcore/__/__/pdf/pdf_cmap_table.o] Error 1

I have solved the problem by first compiling the third-party libraries using visual studio...

just follow steps on this link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM