I tried to build day 33's source code but received these three errors:
win32_handmade.cpp:(.text+0xae9): undefined reference to `__imp_StretchDIBits'
win32_handmade.cpp:(.text+0x1763): undefined reference to `__imp_timeBeginPeriod'
win32_handmade.cpp:(.text+0x18d7): undefined reference to `__imp_GetDeviceCaps'
I have tried to build other days and received the same errors. With day 23's source code, for instance, I received an error having to do with HANDMADE_INTERNAL not being passed and therefore the typedefs and stuff in the if for it were causing problems, but once I fixed that, I got the exact same errors I listed above.
Little more information, I am copying and pasting the code files into an empty project that was created by the program DevC++.
When I try to run build.bat, I receive the error "'cl' is not recognized as an internal or external command, operable program or batch file.". My gut says the environment isn't set up correctly, but I'm unsure as to how to proceed.
Any suggestions?