zoukankan      html  css  js  c++  java
  • _Decoder_Interface_init xxxxxx in amrFileCodec.o

    Undefined symbols for architecture arm64:

      "_Decoder_Interface_init", referenced from:

          DecodeAMRFileToWAVEFile(char const*, char const*) in amrFileCodec.o

     "_Decoder_Interface_Decode", referenced from:

          DecodeAMRFileToWAVEFile(char const*, char const*) in amrFileCodec.o

     "_Decoder_Interface_Decode", referenced from:

          DecodeAMRFileToWAVEFile(char const*, char const*) in amrFileCodec.o

     "_Decoder_Interface_exit", referenced from:

          DecodeAMRFileToWAVEFile(char const*, char const*) in amrFileCodec.o

    根据分析是因为,sdk7.1识别出插入的测试机为5s(64位)。在音频转化的时候原本的amrFileCodec.mm出错。于是乎就是在用到不支持64位的开源程序的时候需要修改一下编译选项,经测试可以改成如下

    选 中Targets—>Build Settings—>Architectures。双击Architectures,选择other,删除$(ARCH_STANDARD) (点’-’),然后增加armv7和armv7s(点‘+’)。clean一下再编译就行了。

  • 相关阅读:
    7. Reverse Integer
    2. Add Two Numbers
    1039. 顺序存储二叉树
    Codeforces 535D
    Codeforces 385D
    URAL
    URAL
    Codeforces Round #428 (Div. 2)
    鹰蛋坚硬度实验
    Codeforces Round #392 (Div. 2)-D. Ability To Convert
  • 原文地址:https://www.cnblogs.com/niexiaobo/p/4655280.html
Copyright © 2011-2022 走看看