![]() If your Visual Studio instance was already opened then close it and open it again to get the new Environment variable modifications. Setting up Visual Studio Visual Studio platform toolset If you are using Windows 10 it's not so unusual to use Visual Studio as well. So add the 2 following paths for MSVC 2017: We have to set our Environment variables. We don't need it for now, just let it for the future. In the same directory you can now see the b2.exe tool. To adjust configuration, edit 'project-config.jam'. Generating Boost.Build configuration in project-config.jam for msvc. Open a console from the Boost directory (depending on your MSVC version 141 or 142):Īnd you'll have on your console after few seconds this message: When you download Boost from the official website, b2 isn't installed. So these 2 tools are exactly the same but the latter is the new version used with Boost.Build. It was in the past called bjam but it's now called b2. If you want to build libraries from Boost on your own way you'll have to use the Boost.Build tool. Building the Boost.Build (b2) engine (optional feature for this tutorial) In this directory you can now see another one called lib64-msvc-14.1/ (for MSVC 2017) or lib64-msvc-14.2 (for MSVC 2019) in which there are built libraries, all that in an 圆4 environment. So, once the executable donwloaded, Windows will show you a blue window with a message alerting that this is an unrecognized app.Ĭlick on More info at the end of this message to make the Run anyway push button appear.įor MVSC 2017, install it in the following location:įor MVSC 2019, install it in the following location: Indeed nothing will be changed on your Windows registries, only a new directory will be created with some files within. So to avoid a headache from the sky we are going to use the binaries directly downloaded from SourceForge (link above). It's possible to build these libraries by yourself but to be honest the Boost documentation isn't really crystal clear and some links are even broken. That's the case for example for the Boost.Python or Boost.Regex libraries. The Boost libraries are in general available directly without building anything (only by including headers).īut some libraries have to be built before being able to use them. Setting up Boost libraries Downloading and installing Boost libraries Note the 14.1 version what is corresponding to MSVC 141 in order to be used with MSVC 2017.įor the MSVC 2019, please do the same but with the 14.2 version what is related to the MSVC 142 and download the Boost 1.77.0 version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |