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一下再编译就行了。

  • 相关阅读:
    C++ reference
    C++ const 限定符
    POJ 1222 EXTENDED LIGHTS OUT(高斯消元)
    poj 2185
    poj 2406
    poj 2752
    hdu 6171
    hdu 6127
    uva 3708
    hdu 6092
  • 原文地址:https://www.cnblogs.com/niexiaobo/p/4655280.html
Copyright © 2011-2022 走看看