[英]Visual Studio Platform toolset and Runtime Library
After browsing here and there, i have come to following conclusion 在四处浏览后,我得出以下结论
Note : If your project is built with previous version of Platform toolset then it may not work as such with newer version of platform toolset as they may be incompatible. 注意:如果您的项目是使用先前版本的Platform工具集构建的,则它可能无法与更新版本的Platform Toolset一起使用,因为它们可能不兼容。
Note: All modules of your code must be using same Runtime to be compatible ie one module built with /Mt should be used with application too using Runtime library as /Mt else there may be issues. 注意:您的代码中的所有模块都必须使用相同的运行时才能兼容,即,使用/ Mt构建的一个模块也应与运行时库一起用作应用程序,因为/ Mt可以与应用程序一起使用,否则可能会出现问题。
Am i right in my summary above? 我在上面的摘要中对吗? Or still i am not clear about this? 还是我不清楚呢? Can anyone provide their inputs 谁能提供他们的意见
I have googled, played tutorials and tried to consolidate all the information above. 我已经用Google搜索,玩过教程,并试图整合以上所有信息。 Not sure did i understand it or still having some bits and pieces missing. 我不确定我是否理解它,或者仍然缺少点点滴滴。
SHARED ABOVE
The platform toolset consists of the C++ compiler (cl.exe) and linker (link.exe), along with the C/C++ standard libraries. 平台工具集由C ++编译器(cl.exe)和链接器(link.exe)以及C / C ++标准库组成。 Since Visual Studio 2015, the major version of the toolset has remained at 14, which means that projects compiled with Visual Studio 2019 or Visual Studio 2017 are ABI-backwards-compatible with projects compiled with Visual Studio 2015. 自Visual Studio 2015以来,该工具集的主要版本仍为14,这意味着使用Visual Studio 2019或Visual Studio 2017编译的项目与使用Visual Studio 2015编译的项目在ABI向后兼容。
The Microsoft run-time library provides routines for programming for the Microsoft Windows operating system. Microsoft运行时库提供了用于Microsoft Windows操作系统编程的例程。 These routines automate many common programming tasks that are not provided by the C and C++ languages. 这些例程可自动执行C和C ++语言未提供的许多常见编程任务。 The C Run-time Library (CRT) is the part of the C++ Standard Library that incorporates the ISO C99 standard library. C运行时库(CRT)是包含ISO C99标准库的C ++标准库的一部分。 The Visual C++ libraries that implement the CRT support native code development, and both mixed native and managed code. 实现CRT的Visual C ++库支持本机代码开发以及混合的本机代码和托管代码。 All versions of the CRT support multi-threaded development. CRT的所有版本都支持多线程开发。 Most of the libraries support both static linking, to link the library directly into your code, or dynamic linking to let your code use common DLL files. 大多数库都支持静态链接(将库直接链接到您的代码中)或动态链接以使您的代码使用常见的DLL文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.