我是靠谱客的博主 糟糕店员,最近开发中收集的这篇文章主要介绍Undefined symbols for architecture x86_64,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

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

转载自 https://my.oschina.net/asjoker/blog/634510

最后

以上就是糟糕店员为你收集整理的Undefined symbols for architecture x86_64的全部内容,希望文章能够帮你解决Undefined symbols for architecture x86_64所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部