![]() ![]() How would one compile with toolset v141? Informally msvc is usually the VS number (e.g. So then, what does it mean to compile Boost with b2 toolset=msvc-14.0 for example? My contention is that it means toolset v140, not Microsoft Visual C 14.0. The toolset neatly defines both the compiler and linker. Especially if one considers that VS 2017 can build both with v140 and v141. It seems clear that the toolset version should be the main reference. (no version number to be found, but it is reasonable to infer 15.0) -Visual C , informally VS, informally MSVC So, on my system: Microsoft Visual Studio Community 2017 has version number 8.4. In order to answer this it would be best to start with So which version should be used? vc141 or vc150? Does ![]() When I compile I get the libraries names with v141 e.g.: boost_atomic-vc141-mt-1_64.libīut in CMake the _Boost_GUESS_COMPILER_PREFIX function has the following: if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.10)Įlseif (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19) And here is another answer where some comments talk about boost's compiler naming. Notice mspdb140.dll and link.exe are listed with version 7.0.Īnd here it seems that msvc : 14.1 should be used as the toolset for boost. The complete 圆4 folder path is C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\7\bin\HostX64\圆4Ĭl /Bv from the command line lists: Compiler Passes: The following macros are defined in the Visual Studio 2017 IDE: CrtSDKReferenceVersion 14.0ĭuring compilation the following variables are #define'd: _MSC_VER 1910Ĭl.exe is contained within an MSVC folder with the VC tools version. From the Boost mailing list I understand that VS2017 has the following version numbers that we would probably be most interested in: Visual Studio 15.0 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |