How to I update my C++ project in Visual Studio 2015 to use the new Universal CRT?

后端 未结 4 1386
醉梦人生
醉梦人生 2020-12-28 08:23

After VS2015 updated my project to the new Platform toolset v140, it fails to build due to a linker error : LNK1104 cannot open file \'libucrt.lib\'.

It appears thi

4条回答
  •  难免孤独
    2020-12-28 09:07

    By default if you compile your project with vs2015, Universal CRT will be in use. (Nothing special needs to be done)

    But if you want to statically link (and get rid of ucrt dependency) - read this article:

    Visual studio 2015 run-time dependencies or how to get rid of Universal CRT?

提交回复
热议问题