閉じる

boost 1.49.0

シリアライザ関連のパッチを当てるのを止め、アプリの方を直すことにした。

2560-0.bat
@echo off

: 32bit版
call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"
call bootstrap.bat
bjam --toolset=msvc-8.0 --prefix=..\boost_32 --without-mpi --without-python link=static runtime-link=static release debug install

: 64bit版クロスコンパイル
call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86_amd64
bjam --toolset=msvc-8.0 address-model=64 --prefix=..\boost_x86amd64 link=static runtime-link=static release debug install

2012/06/09追記

64bit版ネイティブコンパイル(Windows7/64bit)

2560-1.bat
call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" amd64
call bootstrap.bat
bjam --toolset=msvc-8.0 --prefix=..\boost_64 --without-mpi --without-python link=static runtime-link=static release debug install

2012/06/10追記

「error LNK2001: 外部シンボル “”class boost::system::error_category const & __cdecl boost::system::generic_category(void)” (?generic_category@system@boost@@YAAEBVerror_category@12@XZ)” は未解決です。」エラーが出てしまうので bjamのオプションを修正。

2560-2.bat
call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat" amd64
call bootstrap.bat
bjam --toolset=msvc-8.0 address-model=64 --prefix=..\boost_64 --without-mpi --without-python link=static runtime-link=static release debug install

コメントを残す

メールアドレスが公開されることはありません。必須項目には印がついています *

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)