如何在没有UCRT的情况下使用MSVC 2017编译器? [英] How to use MSVC 2017 compiler without UCRT?

查看:180
本文介绍了如何在没有UCRT的情况下使用MSVC 2017编译器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

UCRT是一个死胡同,就是这样,你不能依赖用户安装自动Windows更新和太多人的方式,并将使用Win 7/8。所以我们基本上坚持使用Visual Studio 2013,它还没有这种疯狂。但
VC 2017中的新编译器更好,那么是否可以将新编译器与旧CRT一起使用?

UCRT is a dead end, that's just how it is, you cannot rely on users installing automatic windows updates and way too many people are and will be using Win 7/8. So we are basically stuck with Visual Studio 2013, which doesn't have this madness yet. But the new compiler in VC 2017 is better, so is it possible to use the new compiler with the old CRT?

推荐答案

我'目前正在使用WinV API附带的MSVC 2017。我需要使用动态C ++库链接,因此我在安装程序中安装了MSVC 2017可再发行组件。但现在我在Windows 7和8中对它进行了测试,我得到了两个:



这个程序无法启动,因为api-ms-win-crt -runtime-l1-1-0.dll缺少。尝试重新安装。

I'm currently using MSVC 2017, which comes with Win 10 API. I need to use dynamic C++ libs linking, so I install the MSVC 2017 redistributables in the installer. But now I tested it in Windows 7 and 8 and I get this on both:

This program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing. Try to reinstall this.

然后就是这样:



https: //support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows



但是我几乎不能强迫客户搜索MS修补程序并明显安装一些。许多客户也可能处于离线状态,因此没有自动更新。那么我应该怎么做才能让我的软件在旧系统上运行呢?

Then there's this:

https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

But I can hardly force customers to search through MS hotfixes and install some obviously. Many of the customers may also be offline, hence without automatic updates. So what exactly am I supposed to do to make my software run on older systems?


这篇关于如何在没有UCRT的情况下使用MSVC 2017编译器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆