美文网首页
Undefined symbols for architectu

Undefined symbols for architectu

作者: 小心眼虎虎 | 来源:发表于2016-05-26 17:12 被阅读3174次

    Undefined symbols for architecture x86_64:

    "_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

    "_Decoder_Interface_init", referenced from:

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

    "_Encoder_Interface_Encode", referenced from:

    EncodeWAVEFileToAMRFile(char const*, char const*, int, int) in amrFileCodec.o

    "_Encoder_Interface_exit", referenced from:

    EncodeWAVEFileToAMRFile(char const*, char const*, int, int) in amrFileCodec.o

    "_Encoder_Interface_init", referenced from:

    EncodeWAVEFileToAMRFile(char const*, char const*, int, int) in amrFileCodec.o

    ld: symbol(s) not found for architecture x86_64

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

    相关文章

      网友评论

          本文标题:Undefined symbols for architectu

          本文链接:https://www.haomeiwen.com/subject/zjdxdttx.html