Linux
3696-0.log./bootstrap.sh
./bjam cxxflags=-std=c++11 --layout=versioned --without-mpi --without-python link=static runtime-link=static release install
Visual Sutdio 2013
3696-1.bat@echo off
set VC_ROOT=C:\Program Files\Microsoft Visual Studio 8\VC
if exist "%VC_ROOT%" goto build
set VC_ROOT=C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC
if exist "%VC_ROOT%" goto build
set VC_ROOT=C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC
if exist "%VC_ROOT%" goto build
echo vcvarsall.bat not found
goto end
:build
set VCBVARSASS_BAT=%VC_ROOT%\vcvarsall.bat
:x86な VCにて x64なライブラリを作る
set ADDRESS_MODE=64
call "%VCBVARSASS_BAT%" x86_amd64
call bootstrap.bat
bjam address-model=%ADDRESS_MODE% "--toolset-root=%VC_ROOT%" --prefix=..\boost_%ADDRESS_MODE% --without-mpi --without-python link=static runtime-link=static release debug install
:x86な VCにて x86なライブラリを作る
set ADDRESS_MODE=32
call "%VCBVARSASS_BAT%" x86
call bootstrap.bat
bjam address-model=%ADDRESS_MODE% "--toolset-root=%VC_ROOT%" --prefix=..\boost_%ADDRESS_MODE% --without-mpi --without-python link=static runtime-link=static release debug install
:end
「.\boost/archive/iterators/transform_width.hpp(153) : error C3861: ‘min’: 識別子が見つかりませんでした。」というエラーが出てしまうのは
「#include <boost/iterator/iterator_traits.hpp>」の下あたりに「#include <algorithm>」を挿入して回避。