VS2010下安裝boost庫

2021-06-19 13:50:57 字數 434 閱讀 6983

2.(我放在d:/cpp目錄下)解壓到當前資料夾

3.開啟vs2010->vs tools->vs命令提示

4.cd d:/cpp/boost_1_46_1 

5.輸入bootstrap,便生成bjam.exe檔案

6.輸入bjam toolset=msvc-10.0 variant=debug,release threading=multi link=static,便生成boost庫(時間挺長20分鐘以上)

7.修改vs2010的引數 在專案的組合顯示那找到屬性頁,開啟屬性頁,選擇配置屬性,選擇vc++目錄,設定includepath和libpath,

如我的為d:/cpp/boost_1_46_1;$(includepath)

d:/cpp/boost_1_46_1/stage/lib;$(librarypath)

至此設定完畢

VS2010下安裝boost庫

2.我放在d cpp目錄下 解壓到當前資料夾 3.開啟vs2010 vs tools vs命令提示 4.cd d cpp boost 1 46 1 5.輸入bootstrap,便生成bjam.exe檔案 6.輸入bjam toolset msvc 10.0 variant debug,release...

VS2010下安裝boost庫

2.我放在d boost目錄下 解壓到當前資料夾 3.開啟vs2010 vs tools vs命令提示 4.cd d boost boost 1 64 0 5.輸入bootstrap,便生成bjam.exe檔案 6.輸入bjam toolset msvc 10.0 variant debug,rel...

vs2010使用boost庫,安裝

今天抽時間學習了一下boost庫,用c 做演算法,自己再去造輪子實在是浪費時間,學習boost未來工作能直接上手。比如caffe就直接使用了boost庫,這裡邊常用的 對於時間操作,字串操作,檔案操作,智慧型指標等,熟練使用這些能大大的加速演算法的開發時間。1 boost程式庫完全開發指南 深入c ...