01/10/2018, 10:56

Lỗi VS 2017 Com: build failed

1>------ Build started: Project: helloWord, Configuration: Debug Win32 ------
1>Source.cpp
1>c:program files (x86)microsoft visual studio2017communityvc	oolsmsvc14.10.25017includecrtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
1>Done building project "helloWord.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

lỗi này sửa sao vậy mấy bác.

solved

For Visual Studio 2017 I had to:

Run Visual Studio Installer.
Select Modify button.
Go to "Individual Components" tab.
Scroll down to "Compilers, build tools and runtimes".
Tick "Windows Universal CRT SDK".
Install.
stackoverflow.com
Jepessen

Cannot find corecrt.h: $(UniversalCRT_IncludePath) is wrong

visual-studio-2015, include, include-path
asked by Jepessen on 08:46AM - 10 Jul 16
vtrnnhlinh viết 13:12 ngày 01/10/2018

đọc error log đi nhé, nó nói éo có file nào là correct.h

Bài liên quan
0