首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Echoprint实现

Echoprint实现
EN

Stack Overflow用户
提问于 2013-01-18 20:25:37
回答 1查看 423关注 0票数 2

我在我的iOS 6应用程序中实现了echoprint,但是当我编译我的项目时,它给了我来自Codegen的错误。

代码语言:javascript
复制
    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)
EN

回答 1

Stack Overflow用户

发布于 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/

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14398929

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档