Error Compiling windows target

#1

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include\crtdefs.h(10): fatal error C1083: Cannot open include file: ‘corecrt.h’: No such file or directory
Error: Could not create PCH
The terminal process terminated with exit code: 1

after i install java on my machine and update VC code & VS 2019;

0 Likes

#2

Did you check the boxes in the Visual Studio installer for Win32 C++ Desktop support?

0 Likes

#3

There is no Win32 C++ Desktop in individuals Components. Im on Windows 7. Maybe i should switch to Windows 10?. Thanks for a reply.

0 Likes

#4

Is there anything called “Windows Desktop”?

0 Likes

#5

I did, but still no luck. I end up reinstalling everything and remove my java on my machine, Its works now but i couldn’t build a minify for html5 release. it needed a java installed… Thanks for reply. appreciated.

0 Likes