Boost:Boost 的 MacOSX 二进制文件

发布于 2024-08-13 01:35:22 字数 66 浏览 4 评论 0原文

是否有用于 Boost 的 MacOSX 通用二进制文件(至少为 i386/ppc,>=macosx10.3)?

Are there any MacOSX universal binaries (at least i386/ppc for >=macosx10.3) for Boost?

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

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

发布评论

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

评论(2

羞稚 2024-08-20 01:35:22

您可以使用 MacPorts 在 Mac 上安装 Boost。

安装 MacPorts 后,您只需发出以下命令:

$ sudo port install boost+universal

您还可以要求 MacPorts 构建 二进制包 为您发出以下命令:

$ port pkg pstree

$ port dmg pstree

pkg 或 dmg 文件将放置在 /opt/local/var 的子文件夹中/macports/构建


编辑:现在您可以使用 brew 安装它,

$ brew install boost

另请参阅

$ brew info boost

You can install Boost on Mac by using MacPorts.

Once MacPorts is installed you just have to issue the following command:

$ sudo port install boost+universal

You can also ask MacPorts to build binary packages for you by either issuing:

$ port pkg pstree

or

$ port dmg pstree

The pkg or dmg files will be placed in a subfolder of /opt/local/var/macports/build


EDIT: nowadays you can install it with brew

$ brew install boost

see also

$ brew info boost
临风闻羌笛 2024-08-20 01:35:22

我最近为 openframeworks 开发了一个插件,基本上是用于 i386x86_64预编译 boost 库 1.57.0,它位于以下 github 存储库中:

https://github.com/danoli3/ofxOSXBoost/ (i386在master上预编译)

还编译了x86_64适用于较新的 mac/osx 的通用 32 位/64 位版本。 https://github.com/danoli3/ofxOSXBoost/tree/x86_64

您还可以构建自己创建库(它将自动从源代码下载标记版本(1.57.0),并像其他分支一样编译和设置。https://github.com/danoli3/ofxOSXBoost/tree/build-yourself

请参阅自述文件以获取更多帮助:

https://github.com/danoli3/ofxOSXBoost/

I recently developed an addon for openframeworks with basically pre-compiled boost libraries 1.57.0 for i386 and x86_64 which is on the following github repo:

https://github.com/danoli3/ofxOSXBoost/ (i386 precompiled on master)

Also compiled the x86_64 version for Universal 32bit/64bit for newer macs/osx. https://github.com/danoli3/ofxOSXBoost/tree/x86_64

You can also build the library yourself (which will automatically download it from source forge for the tagged version (1.57.0) and compile and setup like the other branches. https://github.com/danoli3/ofxOSXBoost/tree/build-yourself

See the readme for more help:

https://github.com/danoli3/ofxOSXBoost/

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