简体   繁体   English

编译Mupdf库Android时出错

[英]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 我正在从这里编译mupdf 1.2,它没有generated任何子目录,但是当我尝试编译uding时

 $ndk-build

in cygwin this error occurs 在cygwin中会发生此错误

 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... 我已经通过使用Visual Studio编译第三方库解决了这个问题。

just follow steps on this link 只需按照此链接上的步骤

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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