【发布时间】:2011-10-07 04:45:32
【问题描述】:
由于我正在使用另一个 SDK,我需要将 i386 与 Boost 一起使用。我尝试使用
构建 Boost./b2 toolset=darwin architecture=x86 address-model=32
获取 32 位版本,但它给了我一个链接器错误:
ld: symbol(s) not found for architecture i386
我也试过
port install boost
但只能通过这种方式获得 x86_64 版本的 boost。
是否有另一种构建 Boost 的方法,以便我可以在 Xcode 中使用 i386 进行编译?
【问题讨论】: