vs 2010はbootstライブラリを使用する(二)Boost libriesを使用する
前の方は簡単にブックカバーを使いましたが、使いたいならば.
コマンドラインウィンドウを開く
ブックライブラリのルートディレクトリに切り替えます.
私のはEです.
bootstrapを入力します
そして何行の出力がありますか?
再入力./bjam
コンパイルを開始しました.
えっと、1時間待ちました.
まだ待たなければなりません
もう少しコンパイルしましょう.
N長い間コンパイルしました.
ln-NT stage/lib/libboot stuunit ew ork-vc 100-mt.lib
「NT smlinks not supported yet,making copy」
コピーしました 1つのファイルです
ln-NT stage/lib/libbook stread-vc 100-mt.lib
「NT smlinks not supported yet,making copy」
コピーしました 1つのファイルです
ln-NT stage/lib/libbook stuwave-vc 100-mt.lib
「NT smlinks not supported yet,making copy」
コピーしました 1つのファイルです
…udated 786 tagets…
The Boost C++Libries were success fully built!
The follwing directory shoruld be added to compler include paths:
E:/mylib/boots_1徏1
The follwing directory shuld be added to linker library paths:
E:/mylib/boots_1/stage/lib
前回のexample.cppの内容を次のコードに置き換えます.
boot:include
プロジェクトにライブラリ参照を追加
属性>コネクタ>全般> 追加ディレクトリライブラリはここに書き込みます. E:/mylib/boots_1/stage/lib
コンパイル
実行
入力
To: George Shmidlap
From: Rita Marlowe
Subject: Will Success Spoil Rock Hunter?
Will Success Spoil Rock Hunter?
。
,boost 。