OSX 10.6 上的 XCode 3.2.4 在构建 googletest 时找不到标准标头

发布于 2024-12-03 14:50:34 字数 530 浏览 1 评论 0原文

OSX 10.6(从 10.5 升级)上的 XCode 3.2.4,使用 GCC 4.2,告诉我它找不到 .

我知道它位于“/Developer/SDKs/MacOSX.4u.sdk/usr/include/c++/4.0.0/i686-apple-darwin8/bits/c++config.h”下,以及其他目标平台和10.5 和 10.6 SDK;我认为我不需要在这里一一列举它们,因为我怀疑我所做的事情是标准的,但我将根据要求提供额外的路径信息;有很多...

我知道这个文件也可以在“/usr/include/c++/...”下找到,但这与这种情况不太相关,我认为...

无论如何,该项目是设置为针对 10.6 SDK 构建,尽管我已经尝试了所有这些。我不知道或理解 XCode 如何解决这些平台细节。我尝试过在调试和发布、i386 和 x86_64 以及不同的编译器版本下进行构建。

有人可以帮我解决这个问题吗?我希望有一个不涉及符号链接黑客的修复程序,这会让我只能构建一个特定的平台(我担心)。我确实跨平台架构进行构建,因此保留下拉菜单以在它们之间进行选择是理想的选择。

XCode 3.2.4 on OSX 10.6 (upgraded from 10.5), using GCC 4.2, tells me it can't find .

I know it's located under "/Developer/SDKs/MacOSX.4u.sdk/usr/include/c++/4.0.0/i686-apple-darwin8/bits/c++config.h", as well as other target platforms and the 10.5 and 10.6 SDKs; I don't think I need to enumerate them all here, as I suspect what I got going on is standard, but I will provide additional path information on request; There's a lot...

I know this file is also found under "/usr/include/c++/..." as well, but that isn't terribly relevant to this situation, I think...

Anyway, The project is set to build against the 10.6 SDK, though I've tried them all. I don't know or understand how XCode resolves these platform specifics. I've tried building under debug and release, i386 and x86_64, and different compiler versions.

Can someone help me help XCode resolve this? I'd love a fix that didn't involve a hack with symlinks that would lock me into building a particular platform (my fear). I do build across platform architectures so preserving that drop down menu to choose between them is ideal.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅忆流年 2024-12-10 14:50:34

我从头开始重装系统,而不是升级。

I reinstalled the system from scratch instead of upgrading.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文