davechurchill / commandcenter

Starcraft AI Bot
MIT License
522 stars 112 forks source link

"corecrt.h" not found? #73

Open mecharos opened 6 years ago

mecharos commented 6 years ago

I was trying my hand at creating AI for the first time. after following the guide for a while, when I was trying to build the solution like the guide was said. instead, it gives me a bunch of error saying

Cannot open include file: 'corecrt.h': No such file or directory(compiling source file ..\src*.cpp)

the asterisk means the name of some files in the project. I'm using the precompiled library, since compiling myself seems bleak. It keeps giving me something about submodules and errors. Does anyone have a suggestion for what I may have done wrong?

Archiatrus commented 6 years ago

I never had this problem but I read about it here. Hopefully it helps.

mecharos commented 6 years ago

Thank you for the link and the answer. it finally gets compiled, yet I got an error about Ws2_32.lib cannot be opened. Well, Windows SDK 8.1 should fix it (maybe). Anyway, Thank you for the help.

Migdalin commented 5 years ago

I found this stackoverflow page to be helpful: Basically, I had to run the Visual Studio installer again, and look for a sneaky checkbox off to one side for "Windows 8.1 SDK and UCRT SDK". Probably this is only an issue for the free "community" version of the installer.

https://stackoverflow.com/questions/38290169/cannot-find-corecrt-h-universalcrt-includepath-is-wrong/40164843