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

  • 相关阅读:
    javascript定义
    JavaScript学习笔记
    PostgreSQL数据库配置
    python 时间戳转时间 timestamp to time
    WebGIS:Vue+Flask+PostGIS+Geoserver开发环境配置
    GeoServer环境配置
    Vue前端环境配置
    Flask后端环境配置
    1.顺序表
    汇编语法--AT&T VS. intel
  • 原文地址:https://www.cnblogs.com/niexiaobo/p/4655280.html
Copyright © 2011-2022 走看看