Xcode 7.1中架构armv7的未定义符号
发布时间:2020-12-14 17:24:39 所属栏目:百科 来源:网络整理
导读:我正在用Vuforia和一个名为Mobile Movie Textures的Unity插件制作游戏.当我尝试构建我的 Xcode项目时,一切顺利,直到它开始链接.我从同一个库中得到一堆错误,说它不能识别符号. Undefined symbols for architecture armv7: "_oc_idct8x8_arm",referenced from
我正在用Vuforia和一个名为Mobile Movie Textures的Unity插件制作游戏.当我尝试构建我的
Xcode项目时,一切顺利,直到它开始链接.我从同一个库中得到一堆错误,说它不能识别符号.
Undefined symbols for architecture armv7: "_oc_idct8x8_arm",referenced from: _oc_state_frag_recon_arm in libtheorawrapper.a(armstate.o) _oc_state_accel_init_arm in libtheorawrapper.a(armstate.o) "_oc_idct8x8_1_arm",referenced from: _oc_state_frag_recon_arm in libtheorawrapper.a(armstate.o) "_oc_frag_recon_intra_arm",referenced from: _oc_state_frag_recon_arm in libtheorawrapper.a(armstate.o) _oc_state_accel_init_arm in libtheorawrapper.a(armstate.o) "_oc_pack_read1_arm",referenced from: _th_decode_packetin in libtheorawrapper.a(decode.o) _oc_huff_tree_unpack in libtheorawrapper.a(huffdec.o) _oc_quant_params_unpack in libtheorawrapper.a(dequant.o) "_oc_frag_recon_inter2_arm",referenced from: _oc_state_frag_recon_arm in libtheorawrapper.a(armstate.o) _oc_state_accel_init_arm in libtheorawrapper.a(armstate.o) "_oc_frag_copy_list_arm",referenced from: _oc_state_accel_init_arm in libtheorawrapper.a(armstate.o) "_oc_frag_recon_inter_arm",referenced from: _oc_state_frag_recon_arm in libtheorawrapper.a(armstate.o) _oc_state_accel_init_arm in libtheorawrapper.a(armstate.o) "_oc_loop_filter_frag_rows_arm",referenced from: _oc_state_accel_init_arm in libtheorawrapper.a(armstate.o) "_oc_huff_token_decode_arm",referenced from: _th_decode_packetin in libtheorawrapper.a(decode.o) _oc_sb_run_unpack in libtheorawrapper.a(decode.o) "_oc_pack_read_arm",referenced from: _th_decode_packetin in libtheorawrapper.a(decode.o) _oc_sb_run_unpack in libtheorawrapper.a(decode.o) _th_decode_headerin in libtheorawrapper.a(decinfo.o) _oc_unpack_length in libtheorawrapper.a(decinfo.o) _oc_huff_tree_unpack in libtheorawrapper.a(huffdec.o) _oc_quant_params_unpack in libtheorawrapper.a(dequant.o) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) 我可以让装备与armv7拱不兼容,但它们占荷兰市场的55%. 我不知道如何解决这个问题,你们中有谁能想出来吗? 解决方法
当前版本的插件中的库libtheorawrapper.a已损坏,并且不包含所有必需的符号.
如果要使用该插件,则必须重新编译该库. 然后编辑此文件: /Users/dan/Documents/MobileMovieTexture/ 用你克隆回购路径的路径(例如): /Users/MyUser/Code/git/MobileMovieTexture 然后,您可以使用XCode打开该项目并重新编译库. 生成的文件将放在: MMTUnity/Assets/Plugins/iOS/libtheorawrapper.a 你应该将该文件复制到unity插件文件夹: Assets/Plugins/iOS/libtheorawrapper.a (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |