_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一下再編譯就行了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM