Undefined symbols for armv7 architecture in Xcode 7.1

I am making a game with Vuforia and a Unity plugin called Mobile Movie Textures. When I try to build an Xcode project, everything goes well until it starts to bind. I get a bunch of errors from one library, saying that it does not recognize characters.

    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)

I could just make devices with the armv7 arch incompatible, but they make up 55% of the Dutch market.

I do not know how to fix this, can any of you understand this?

+4
source share
3 answers

The library libtheorawrapper.a in the current version of the plugin is broken and does not contain all the necessary characters.

, . .

: MMTPlugin//XCode/theorawrapper.xcodeproj/project.pbxproj 134 144

/Users/dan/Documents/MobileMovieTexture/

():

/Users/MyUser/Code/git/MobileMovieTexture

XCode .

:

MMTUnity/Assets/Plugins/iOS/libtheorawrapper.a

:

Assets/Plugins/iOS/libtheorawrapper.a
+1

, MMT: , Assets/Plugins/iOS/libtheorawrapper.a , armv7. (, , ), .

300 1,8 , .

, .

0

, , .

, . Unity/plugins/ios

here is the link to download it: https://www.dropbox.com/s/kp8u9ggzw6xxvit/libtheorawrapper.a?dl=0

0
source

Source: https://habr.com/ru/post/1620119/


All Articles