Boost Libraries Support for MS VC++ 10.0
Friends
I have been using Microsoft Visual C++ 2010 Express edition and also downloaded the Boost Libraries for Win开发者_开发技巧dows and I would want to have Boost linked with VC++ so that I can run programs that involves Boost libraries in VC++. Please provide some inputs on Boost with VC++
Thank you
Just follow these instructions Getting Started on Windows
Now that you have download and extract the whole library to a folder, c:\boost.
- open the visual studio 2010 commandline window from the Start Menu, so that all VS2010 environments are pre-set for you.
- navigate to c:\boost
Run bjam.exe, and wait. Alternatively, you can save the following 3 lines into a a file build.bat(as I do)
bjam.exe link=static runtime-link=static threading=multi --layout=versioned stage
bjam.exe link=static runtime-link=shared threading=multi --layout=versioned stage
bjam.exe link=shared runtime-link=shared threading=multi --layout=versioned stage and run build.bat, after the build, all libs are in .\stage
just a note, the latest trunk of boost is not building on 2010 yet.
精彩评论