Undefined symbols for architectu

2016-05-26  本文已影响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一下再编译就行了。

上一篇 下一篇

猜你喜欢

热点阅读