在 Snow Leopard 上安装 Boost 库

发布于 2024-08-07 03:55:17 字数 109 浏览 2 评论 0原文

我已按照 boost 网站上的说明进行操作。我已将 boost 目录放入路径中。我仍然无法使用 boost 库编译 C++ 程序。我特别尝试使用文件系统库。非常感谢任何帮助。

--TJB

I have followed the directions on the boost website. I have put the boost dir in the path. I still cannot compile a C++ program using the boost libraries. I am specifically trying to use the filesystem library. Any help is greatly appreciated.

--TJB

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

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

发布评论

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

评论(2

摘星┃星的人 2024-08-14 03:55:17

你编译了文件系统库吗?许多 Boost 库只是头文件,但文件系统是少数必须编译(和链接)的库之一。

有关如何执行此操作的说明,请参阅 Unix 变体入门页面。文件系统库的具体说明位于 http: //www.boost.org/doc/libs/1_40_0/libs/filesystem/doc/index.htm#Building

Did you compile the filesystem library? Many Boost libraries are header-only, but filesystem is one of the few that have to be compiled (and linked).

Instructions on how to do that can be found at points 5 and 6 of the Getting Started on Unix Variants page. Instructions specific to the filesystem lib are at http://www.boost.org/doc/libs/1_40_0/libs/filesystem/doc/index.htm#Building

微暖i 2024-08-14 03:55:17

我刚刚想通了,最后并没有那么困难:
http://www.thepinguin.net/2010/10/升压雪豹-x86_64/

I've just figured it out, at the end it wasn't that difficult:
http://www.thepinguin.net/2010/10/boost-on-snow-leopard-x86_64/

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