ld: 未找到架构 x86_64 (Xcode 4)//opengles.o 的符号 [英] ld: symbol(s) not found for architecture x86_64 (Xcode 4) // opengles.o

查看:28
本文介绍了ld: 未找到架构 x86_64 (Xcode 4)//opengles.o 的符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用外部库制作一个 xcode 命令工具应用程序,但出现了一些错误.

I'm making an xcode command tool application with external libraries and got some errors.

我试图解决的问题:

  • 使用不同的编译器构建
  • 删除 GLES 文件夹并重新添加
  • 在 32 和 64 上构建它

我是否遗漏了有关 opengles.cpp 的内容?

Am i missing something regarding the opengles.cpp ?

如果您知道下一步可以做什么,请说出来,您可以在下面找到有关项目和错误的所有信息.如果您需要更多信息,我很乐意为您提供帮助.另外,如果您知道如何从 xcode 4 中编译的 opnni 中获取 NiUsertracker 示例,这也将对解决此问题有很大帮助

If you got any idea what can be done next please say so, below you can find all the info regarding the project and error. If you need more info i'm happy to assist you. Also if you know how to get the NiUsertracker sample from opnni compiled in xcode 4, it would also be a great help to solve this problem

错误:

问题可能与这些文件有关:

The problem might have something to do with these files :

项目设置的信息(它是一个命令行工具而不是一个应用程序):

The info of the project setting (it's a command line tool not an app) :

构建时的输出截图

构建设置

推荐答案

一般遇到这种错误,是因为我忘记链接库了.您获得的文件夹仅包含标题;尝试找到 OpenGL ES 的框架.(我觉得 Xcode 自带 GLES 框架,尝试搜索.)

Usually when I get those kinds of errors, It's because I forgot to link with the library. The folder you got contains only headers; try to find the framework for OpenGL ES. (I think Xcode comes with a GLES framework, try searching.)

这篇关于ld: 未找到架构 x86_64 (Xcode 4)//opengles.o 的符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆