适用于 64 位 Windows 的 64 位版本的 Boost [英] 64-bit version of Boost for 64-bit windows

查看:31
本文介绍了适用于 64 位 Windows 的 64 位版本的 Boost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有适用于 VS2008 的 64 位 Boost 库版本?还是我必须自己编译一个?如果有,有没有人有这方面的经验?

Is there a version of 64-bit Boost library for VS2008 ? Or do I have to compile one myself? if, so, does anyone have experience with it?

推荐答案

简而言之:

bjam --toolset=msvc-9.0 address-model=64 --build-type=complete

作为一个较长的答案,这里是我在同一层次结构中拥有 VS .NET 2008 32 位和 64 位 boost 库的构建说明(我怀疑这是一个常见用例):

As a longer answer, here are my build notes for having VS .NET 2008 32-bit and 64-bit boost libraries in the same hierarchy (which is I suspect a common use case):

  1. 构建 win32 二进制文件

  1. Build the win32 binaries

bjam --toolset=msvc-9.0 --build-type=complete stage

  • 创建目录libwin32

  • Create the directory libwin32

    构建 x64 二进制文件

    Build the x64 binaries

    bjam --toolset=msvc-9.0 address-model=64 --build-type=complete stage
    

  • 创建目录libx64

  • Create the directory libx64

    这篇关于适用于 64 位 Windows 的 64 位版本的 Boost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆