Boost库安装(Vs2008环境)

  1. Unarchive the latest version of boost (1.46.0 as of writing) into a directory of your choice (e.g. C:/boost_1_46_0).
  2. Start the Visual Studio Command Prompt for the platform of your choice and navigate to where boost is.
  3. Run: bootstrap.bat to build bjam.
  4. Run bjam: (Win32) bjam --toolset=msvc-9.0 --build-type=complete stage
  5. The following command builds the boost libraries that are relevant for
        libDAI:
  6.         bjam --with-graph --with-math --with-program_options --with-test link=static runtime-link=shared
  7. Go through steps 2 - 6 from the set of instruction above to set the environment variables.
  8. Edit the Library Directories section to include the path to your boost libraries output. (The default for the example and instructions above would be C:/boost_1_46_0/stage/lib. Rename and move the directory first if you want to have x86 & x64 side by side (such as to <BOOST_PATH>/lib/x86 & <BOOST_PATH>/lib/x64).
  9. Repeat steps 2 - 6 for different platform of your choice if needed.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值