Friday, July 18, 2014

Compiling Boost with Visual Studio 2013 for 64bits

Recently I needed to use Boost library in one of my project. So I've downloaded Boost package from boost.org and needed to build the whole Boost package for my Visual Studio 2013
The required steps I've had to do to build the Boost package were following.
  1. Open command prompt in root of %boost_install_dir%
  2. Execute bootstrap.bat
  3. Execute b2 toolset=msvc-12.0 --build-type=complete --libdir=%mylibs%\lib\x64 architecture=x86 address-model=64 install -j4 
  4. Add %mylibs%\lib\x64 into the libs path in the Visual Studio
Mission accomplished.

Update 2014-12-05:
Do not expect that building 32bit boost against 64bit version of python will bring any promising result :(.

No comments:

Post a Comment