我在我的iOS 6应用程序中实现了echoprint,但是当我编译我的项目时,它给了我来自Codegen的错误。
Undefined symbols for architecture i386:
"Codegen::Codegen(float const*, unsigned int, int)", referenced from:
codegen_wrapper(float const*, int) in Codegen_wrapper.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)发布于 2013-06-24 22:29:14
下面介绍如何在iOS上编译和运行Codegen:
Echoprint iOS Missing Framework
由于XCode中的模拟器使用的是i386处理器,因此无法将其与在arm7中编译的对象连接起来。
在编译libechoprint-codegen-ios.a时,选择iPhone Simulator作为目标,然后在i386中编译它。那么它将成功地链接它。通过输入以下命令,可以了解它是在arm7中编译的还是在i386中编译的
lipo -info path/libechoprint-codegen-ios.a
来源:http://www.verious.com/qa/linker-error-for-echoprint-in-ios/
https://stackoverflow.com/questions/14398929
复制相似问题