的Andr​​oid NDK MuPDF生成错误:没有这样的文件或目录 [英] Android MuPDF ndk build Error: No such file or directory

查看:128
本文介绍了的Andr​​oid NDK MuPDF生成错误:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我跟着步骤,这里但我得到了这些错误:

  JNI /../../ PDF / pdf_cmap_table.c:5:35:错误:../generated/cmap_cns.​​h:没有这样的文件或目录
JNI /../../ PDF / pdf_cmap_table.c:6:34:错误:../generated/cmap_gb.h:没有这样的文件或目录
JNI /../../ PDF / pdf_cmap_table.c:7:37:错误:../generated/cmap_japan.h:没有这样的文件或目录
JNI /../../ PDF / pdf_cmap_table.c:8:37:错误:../generated/cmap_korea.h:没有这样的文件或目录
JNI /../../ PDF / pdf_cmap_table.c:14:错误:'cmap_78_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:15:错误:'cmap_78_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:16:错误:'cmap_78_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:17:错误:'cmap_78_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:18:错误:'cmap_78_RKSJ_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:19:错误:'cmap_78_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:20:错误:'cmap_78ms_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:21:错误:'cmap_78ms_RKSJ_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:22:错误:'cmap_83pv_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:23:错误:'cmap_90ms_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:24:错误:'cmap_90ms_RKSJ_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:25:错误:'cmap_90msp_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:26:错误:'cmap_90msp_RKSJ_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:27:错误:'cmap_90pv_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:28:错误:'cmap_90pv_RKSJ_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:29:错误:'cmap_Add_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:30:错误:'cmap_Add_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:31:错误:'cmap_Add_RKSJ_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:32:错误:'cmap_Add_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:33:错误:'cmap_Adobe_CNS1_0'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:34:错误:'cmap_Adobe_CNS1_1'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:35:错误:'cmap_Adobe_CNS1_2'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:36:错误:'cmap_Adobe_CNS1_3'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:37:错误:'cmap_Adobe_CNS1_4'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:38:错误:'cmap_Adobe_CNS1_5'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:39:错误:'cmap_Adobe_CNS1_6'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:40:错误:'cmap_Adobe_CNS1_UCS2'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:41:错误:'cmap_Adobe_GB1_0'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:42:错误:'cmap_Adobe_GB1_1'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:43:错误:'cmap_Adobe_GB1_2'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:44:错误:'cmap_Adobe_GB1_3'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:45:错误:'cmap_Adobe_GB1_4'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:46:错误:'cmap_Adobe_GB1_5'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:47:错误:'cmap_Adobe_GB1_UCS2'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:48:错误:'cmap_Adobe_Japan1_0'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:49:错误:'cmap_Adobe_Japan1_1'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:50:错误:'cmap_Adobe_Japan1_2'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:51:错误:'cmap_Adobe_Japan1_3'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:52:错误:'cmap_Adobe_Japan1_4'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:53:错误:'cmap_Adobe_Japan1_5'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:54:错误:'cmap_Adobe_Japan1_6'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:55:错误:'cmap_Adobe_Japan1_UCS2'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:56:错误:'cmap_Adobe_Japan2_0'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:57:错误:'cmap_Adobe_Korea1_0'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:58:错误:'cmap_Adobe_Korea1_1'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:59:错误:'cmap_Adobe_Korea1_2'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:60:错误:'cmap_Adobe_Korea1_UCS2'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:61:错误:'cmap_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:62:错误:'cmap_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:63:错误:'cmap_B5pc_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:64:错误:'cmap_B5pc_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:65:错误:'cmap_CNS_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:66:错误:'cmap_CNS_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:67:错误:'cmap_CNS1_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:68:错误:'cmap_CNS1_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:69:错误:'cmap_CNS2_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:70:错误:'cmap_CNS2_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:71:错误:'cmap_ETHK_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:72:错误:'cmap_ETHK_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:73:错误:'cmap_ETen_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:74:错误:'cmap_ETen_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:75:错误:'cmap_ETenms_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:76:错误:'cmap_ETenms_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:77:错误:'cmap_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:78:错误:'cmap_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:79:错误:'cmap_Ext_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:80:错误:'cmap_Ext_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:81:错误:'cmap_Ext_RKSJ_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:82:错误:'cmap_Ext_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:83:错误:'cmap_GB_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:84:错误:'cmap_GB_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:85:错误:'cmap_GB_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:86:错误:'cmap_GB_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:87:错误:'cmap_GBK_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:88:​​错误:'cmap_GBK_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:89:错误:'cmap_GBK2K_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:90:错误:'cmap_GBK2K_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:91:错误:'cmap_GBKp_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:92:错误:'cmap_GBKp_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:93:错误:'cmap_GBT_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:94:错误:'cmap_GBT_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:95:错误:'cmap_GBT_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:96:错误:'cmap_GBT_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:97:错误:'cmap_GBTpc_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:98:错误:'cmap_GBTpc_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:99:错误:'cmap_GBpc_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:100:错误:'cmap_GBpc_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:101:错误:'cmap_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:102:错误:'cmap_HKdla_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:103:错误:'cmap_HKdla_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:104:错误:'cmap_HKdlb_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:105:错误:'cmap_HKdlb_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:106:错误:'cmap_HKgccs_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:107:错误:'cmap_HKgccs_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:108:错误:'cmap_HKm314_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:109:错误:'cmap_HKm314_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:110:错误:'cmap_HKm471_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:111:错误:'cmap_HKm471_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:112:错误:'cmap_HKscs_B5_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:113:错误:'cmap_HKscs_B5_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:114:错误:'cmap_Hankaku'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:115:错误:'cmap_Hiragana'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:116:错误:'cmap_Hojo_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:117:错误:'cmap_Hojo_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:118:错误:'cmap_Hojo_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:119:错误:'cmap_Hojo_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:120:错误:'cmap_KSC_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:121:错误:'cmap_KSC_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:122:错误:'cmap_KSC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:123:错误:'cmap_KSC_Johab_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:124:错误:'cmap_KSC_Johab_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:125:错误:'cmap_KSC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:126:错误:'cmap_KSCms_UHC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:127:错误:'cmap_KSCms_UHC_HW_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:128:错误:'cmap_KSCms_UHC_HW_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:129:错误:'cmap_KSCms_UHC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:130:错误:'cmap_KSCpc_EUC_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:131:错误:'cmap_KSCpc_EUC_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:132:错误:'cmap_Katakana'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:133:错误:'cmap_NWP_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:134:错误:'cmap_NWP_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:135:错误:'cmap_RKSJ_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:136:错误:'cmap_RKSJ_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:137:错误:'cmap_Roman'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:138:错误:'cmap_UniCNS_UCS2_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:139:错误:'cmap_UniCNS_UCS2_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:140:错误:'cmap_UniCNS_UTF16_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:141:错误:'cmap_UniCNS_UTF16_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:142:错误:'cmap_UniGB_UCS2_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:143:错误:'cmap_UniGB_UCS2_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:144:错误:'cmap_UniGB_UTF16_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:145:错误:'cmap_UniGB_UTF16_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:146:错误:'cmap_UniHojo_UCS2_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:147:错误:'cmap_UniHojo_UCS2_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:148:错误:'cmap_UniHojo_UTF16_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:149:错误:'cmap_UniHojo_UTF16_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:150:错误:'cmap_UniJIS_UCS2_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:151:错误:'cmap_UniJIS_UCS2_HW_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:152:错误:'cmap_UniJIS_UCS2_HW_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:153:错误:'cmap_UniJIS_UCS2_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:154:错误:'cmap_UniJIS_UTF16_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:155:错误:'cmap_UniJIS_UTF16_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:156:错误:'cmap_UniJISPro_UCS2_HW_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:157:错误:'cmap_UniJISPro_UCS2_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:158:错误:'cmap_UniKS_UCS2_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:159:错误:'cmap_UniKS_UCS2_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:160:错误:'cmap_UniKS_UTF16_H'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:161:错误:'cmap_UniKS_UTF16_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:162:错误:'cmap_V'未申报这里(而不是在一个函数)
JNI /../../ PDF / pdf_cmap_table.c:163:错误:'cmap_WP_Symbol'未申报这里(而不是在一个函数)
使:*** [OBJ /本地/ armeabi / OBJ文件调试/ mupdfcore / __ / __ / PDF / pdf_cmap_table.o]错误1

请帮助我。我使用NDK-R8和我把它用CMD编译,但我得到了错误的话,我按照这个步骤建立在Eclipse NDK,但我仍然得到了同样的错误。

编辑:我认为这是主要的问题就在这里,所以我在哪里得到这些.h文件?我搜索这个生成的目录中,但发现没有在网上。有人建议我在哪里得到这些丢失的.h文件?

  ../生成/ cmap_cns.​​h:没有这样的文件或目录
../generated/cmap_gb.h:没有这样的文件或目录
../generated/cmap_japan.h:没有这样的文件或目录
../generated/cmap_korea.h:没有这样的文件或目录


解决方案

解决的办法是进入 mupdf / 目录(整个项目的根目录)和第一运行制作。这应该与所有必要的头文件生成生成/ 文件夹中。

之后NDK的构建应运行没有问题。

I followed the steps here but I got these errors:

jni/../../pdf/pdf_cmap_table.c:5:35: error: ../generated/cmap_cns.h: No such file or directory
jni/../../pdf/pdf_cmap_table.c:6:34: error: ../generated/cmap_gb.h: No such file or directory
jni/../../pdf/pdf_cmap_table.c:7:37: error: ../generated/cmap_japan.h: No such file or directory
jni/../../pdf/pdf_cmap_table.c:8:37: error: ../generated/cmap_korea.h: No such file or directory
jni/../../pdf/pdf_cmap_table.c:14: error: 'cmap_78_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:15: error: 'cmap_78_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:16: error: 'cmap_78_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:17: error: 'cmap_78_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:18: error: 'cmap_78_RKSJ_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:19: error: 'cmap_78_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:20: error: 'cmap_78ms_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:21: error: 'cmap_78ms_RKSJ_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:22: error: 'cmap_83pv_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:23: error: 'cmap_90ms_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:24: error: 'cmap_90ms_RKSJ_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:25: error: 'cmap_90msp_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:26: error: 'cmap_90msp_RKSJ_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:27: error: 'cmap_90pv_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:28: error: 'cmap_90pv_RKSJ_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:29: error: 'cmap_Add_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:30: error: 'cmap_Add_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:31: error: 'cmap_Add_RKSJ_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:32: error: 'cmap_Add_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:33: error: 'cmap_Adobe_CNS1_0' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:34: error: 'cmap_Adobe_CNS1_1' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:35: error: 'cmap_Adobe_CNS1_2' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:36: error: 'cmap_Adobe_CNS1_3' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:37: error: 'cmap_Adobe_CNS1_4' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:38: error: 'cmap_Adobe_CNS1_5' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:39: error: 'cmap_Adobe_CNS1_6' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:40: error: 'cmap_Adobe_CNS1_UCS2' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:41: error: 'cmap_Adobe_GB1_0' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:42: error: 'cmap_Adobe_GB1_1' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:43: error: 'cmap_Adobe_GB1_2' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:44: error: 'cmap_Adobe_GB1_3' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:45: error: 'cmap_Adobe_GB1_4' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:46: error: 'cmap_Adobe_GB1_5' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:47: error: 'cmap_Adobe_GB1_UCS2' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:48: error: 'cmap_Adobe_Japan1_0' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:49: error: 'cmap_Adobe_Japan1_1' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:50: error: 'cmap_Adobe_Japan1_2' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:51: error: 'cmap_Adobe_Japan1_3' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:52: error: 'cmap_Adobe_Japan1_4' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:53: error: 'cmap_Adobe_Japan1_5' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:54: error: 'cmap_Adobe_Japan1_6' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:55: error: 'cmap_Adobe_Japan1_UCS2' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:56: error: 'cmap_Adobe_Japan2_0' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:57: error: 'cmap_Adobe_Korea1_0' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:58: error: 'cmap_Adobe_Korea1_1' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:59: error: 'cmap_Adobe_Korea1_2' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:60: error: 'cmap_Adobe_Korea1_UCS2' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:61: error: 'cmap_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:62: error: 'cmap_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:63: error: 'cmap_B5pc_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:64: error: 'cmap_B5pc_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:65: error: 'cmap_CNS_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:66: error: 'cmap_CNS_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:67: error: 'cmap_CNS1_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:68: error: 'cmap_CNS1_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:69: error: 'cmap_CNS2_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:70: error: 'cmap_CNS2_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:71: error: 'cmap_ETHK_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:72: error: 'cmap_ETHK_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:73: error: 'cmap_ETen_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:74: error: 'cmap_ETen_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:75: error: 'cmap_ETenms_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:76: error: 'cmap_ETenms_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:77: error: 'cmap_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:78: error: 'cmap_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:79: error: 'cmap_Ext_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:80: error: 'cmap_Ext_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:81: error: 'cmap_Ext_RKSJ_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:82: error: 'cmap_Ext_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:83: error: 'cmap_GB_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:84: error: 'cmap_GB_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:85: error: 'cmap_GB_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:86: error: 'cmap_GB_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:87: error: 'cmap_GBK_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:88: error: 'cmap_GBK_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:89: error: 'cmap_GBK2K_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:90: error: 'cmap_GBK2K_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:91: error: 'cmap_GBKp_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:92: error: 'cmap_GBKp_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:93: error: 'cmap_GBT_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:94: error: 'cmap_GBT_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:95: error: 'cmap_GBT_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:96: error: 'cmap_GBT_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:97: error: 'cmap_GBTpc_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:98: error: 'cmap_GBTpc_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:99: error: 'cmap_GBpc_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:100: error: 'cmap_GBpc_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:101: error: 'cmap_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:102: error: 'cmap_HKdla_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:103: error: 'cmap_HKdla_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:104: error: 'cmap_HKdlb_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:105: error: 'cmap_HKdlb_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:106: error: 'cmap_HKgccs_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:107: error: 'cmap_HKgccs_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:108: error: 'cmap_HKm314_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:109: error: 'cmap_HKm314_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:110: error: 'cmap_HKm471_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:111: error: 'cmap_HKm471_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:112: error: 'cmap_HKscs_B5_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:113: error: 'cmap_HKscs_B5_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:114: error: 'cmap_Hankaku' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:115: error: 'cmap_Hiragana' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:116: error: 'cmap_Hojo_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:117: error: 'cmap_Hojo_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:118: error: 'cmap_Hojo_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:119: error: 'cmap_Hojo_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:120: error: 'cmap_KSC_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:121: error: 'cmap_KSC_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:122: error: 'cmap_KSC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:123: error: 'cmap_KSC_Johab_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:124: error: 'cmap_KSC_Johab_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:125: error: 'cmap_KSC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:126: error: 'cmap_KSCms_UHC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:127: error: 'cmap_KSCms_UHC_HW_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:128: error: 'cmap_KSCms_UHC_HW_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:129: error: 'cmap_KSCms_UHC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:130: error: 'cmap_KSCpc_EUC_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:131: error: 'cmap_KSCpc_EUC_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:132: error: 'cmap_Katakana' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:133: error: 'cmap_NWP_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:134: error: 'cmap_NWP_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:135: error: 'cmap_RKSJ_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:136: error: 'cmap_RKSJ_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:137: error: 'cmap_Roman' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:138: error: 'cmap_UniCNS_UCS2_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:139: error: 'cmap_UniCNS_UCS2_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:140: error: 'cmap_UniCNS_UTF16_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:141: error: 'cmap_UniCNS_UTF16_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:142: error: 'cmap_UniGB_UCS2_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:143: error: 'cmap_UniGB_UCS2_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:144: error: 'cmap_UniGB_UTF16_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:145: error: 'cmap_UniGB_UTF16_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:146: error: 'cmap_UniHojo_UCS2_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:147: error: 'cmap_UniHojo_UCS2_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:148: error: 'cmap_UniHojo_UTF16_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:149: error: 'cmap_UniHojo_UTF16_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:150: error: 'cmap_UniJIS_UCS2_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:151: error: 'cmap_UniJIS_UCS2_HW_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:152: error: 'cmap_UniJIS_UCS2_HW_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:153: error: 'cmap_UniJIS_UCS2_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:154: error: 'cmap_UniJIS_UTF16_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:155: error: 'cmap_UniJIS_UTF16_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:156: error: 'cmap_UniJISPro_UCS2_HW_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:157: error: 'cmap_UniJISPro_UCS2_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:158: error: 'cmap_UniKS_UCS2_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:159: error: 'cmap_UniKS_UCS2_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:160: error: 'cmap_UniKS_UTF16_H' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:161: error: 'cmap_UniKS_UTF16_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:162: error: 'cmap_V' undeclared here (not in a function)
jni/../../pdf/pdf_cmap_table.c:163: error: 'cmap_WP_Symbol' undeclared here (not in a function)
make: *** [obj/local/armeabi/objs-debug/mupdfcore/__/__/pdf/pdf_cmap_table.o] Error 1

Please help me with this. I use ndk-r8 and I compile it using CMD but I got that errors then I follow this steps to build ndk in eclipse, but still I got the same errors.

EDITS: I think this is the main problem here, So where do I get these .h files? I search for this generated directory but found nothing in web. Can someone suggest me where to get these missing .h files?

../generated/cmap_cns.h: No such file or directory
../generated/cmap_gb.h: No such file or directory
../generated/cmap_japan.h: No such file or directory
../generated/cmap_korea.h: No such file or directory

解决方案

The solution is to go into the mupdf/ directory (the root of the whole project) and first run make. This should generate the generated/ folder with all needed header files.

Afterwards ndk-build should run without problems.

这篇关于的Andr​​oid NDK MuPDF生成错误:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆