This entry was posted on 土曜日, 7月 19th, 2008 at 17:13:07 and is filed under boost. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


OSXでboostのプログラムをコンパイルする
OSXでboostのライブラリう使ったコードがコンパイルできない。
マルチスレッドを使用してみようとしたのだけれどコンパイル(リンク)時にライブラリが見つからないといわれてしまう
ネット上のboost情報もVisual Studioばっかりであんまりないな
g++ thread.cpp -I/usr/local/include/boost-1_36 -L/usr/local/lib -lboost_thread-gcc40-mt
だと駄目で
g++ thread.cpp -I/usr/local/include/boost-1_36 /usr/local/lib/libboost_thread-gcc40-mt.a
とフルパス指定したらうまくいった。
Leave a Reply
