Handmade Hero»Forums»Code
The_8th_mage
69 posts / 1 project
Failed to build from command line
I tried to run the very first program casey made, include wibdows.h and winmain, but when i cled it i got one of two messages. The first one is couldn't find windos.h, the second is cannot open kernel32.lib. I think i am missing something, but i don't know what. Can somebody help me?
Mārtiņš Možeiko
2358 posts / 2 projects
Failed to build from command line
Are you using Visual Studio 2013 Community Edition to compile, or something else?
The_8th_mage
69 posts / 1 project
Failed to build from command line
I'm using 2013 ultimate
Mārtiņš Možeiko
2358 posts / 2 projects
Failed to build from command line
Edited by Mārtiņš Možeiko on
Then you should be fine. Have you run shell.bat file?
Can you show output of following command: "echo %INCLUDE%" ?
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Failed to build from command line
(also, are you running vcvarsall.bat?)

- Casey
The_8th_mage
69 posts / 1 project
Failed to build from command line
Thanks for the help, i didn't know that when installing the vs2013, my system admins didn't care it didn't install the windows sdk. after i installed it, it worked fine. It's so frustrating.