我是使用 NDK8 的新手,我想为我的 PDF 查看器项目构建 MUPDF 库,我关注了 MuPdf Reader 集成在项目中,还有这个 ReadMe.txt,我遇到了这个错误:。
Terminal Ouput
Compile thumb : mupdfthirdparty <= sfnt.c
Compile thumb : mupdfthirdparty <= truetype.c
Compile thumb : mupdfthirdparty <= type1.c
StaticLibrary : libmupdfthirdparty.a
SharedLibrary : libmupdf.so
./obj/local/armeabi/libmupdfcore.a(pdf_xref.o): In function `pdf_init_document':
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_xref.c:784: undefined reference to `pdf_new_js'
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_xref.c:785: undefined reference to `pdf_js_load_document_level'
./obj/local/armeabi/libmupdfcore.a(pdf_xref.o): In function `pdf_close_document':
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_xref.c:815: undefined reference to `pdf_drop_js'
./obj/local/armeabi/libmupdfcore.a(pdf_xref.o): In function `pdf_new_document':
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_xref.c:1298: undefined reference to `pdf_write_document'
./obj/local/armeabi/libmupdfcore.a(pdf_annot.o): In function `pdf_load_annots':
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_annot.c:371: undefined reference to `pdf_update_appearance'
/Users/durgaprasad/guna/mupdf/android/jni/../../pdf/pdf_annot.c:403: undefined reference to `pdf_field_type'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/libmupdf.so] Error 1