Boost:Boost 的 MacOSX 二进制文件
是否有用于 Boost 的 MacOSX 通用二进制文件(至少为 i386/ppc,>=macosx10.3)?
Are there any MacOSX universal binaries (at least i386/ppc for >=macosx10.3) for Boost?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 MacPorts 在 Mac 上安装 Boost。
安装 MacPorts 后,您只需发出以下命令:
您还可以要求 MacPorts 构建 二进制包 为您发出以下命令:
或
pkg 或 dmg 文件将放置在
/opt/local/var 的子文件夹中/macports/构建
编辑:现在您可以使用
brew
安装它,另请参阅
You can install Boost on Mac by using MacPorts.
Once MacPorts is installed you just have to issue the following command:
You can also ask MacPorts to build binary packages for you by either issuing:
or
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
see also
我最近为 openframeworks 开发了一个插件,基本上是用于 i386 和 x86_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/