\.\bjam toolset=msvc link=static threading=multi runtime-link=static release stage Note that TDM links statically to boost, so give an additional switch runtime-link=static to bjam: \.\.\bjam toolset=msvc link=static threading=multi debug stage \.\.\bjam toolset=msvc link=static threading=multi release stage Keep using the Visual Studio Developer Command prompt: Let's start compiling by using the boost.filesystem library as example. "Developer Command Prompt for VS 2017"), then run the boostrap script which will place the bjam.exe in the same folder as the bootstrap script. Open a Visual Studio Developer Command prompt (choose the version you want to build the libraries for, e.g. To build the static libraries Boost you need the the boost jam tool (bjam.exe), which can be built by using the boostrap.bat script found in the root boost folder. For this guide, I'll assume your boost package has been saved to c:\tools\boost_1_45_0). Often for very "fresh" releases there are no binaries available yet, so you'll need to fall back compiling the binaries yourself.Äownload the boost release package from their website, e.g. You can try to find the static binaries needed on Boost's Sourceforge page. 2 Compile the libraries from Boost sources.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |