Which day are you trying to compile ? I can compile day 533 with VisualĀ Studio 2017 without warnings or errors.
For the ctime error, you can add ctime to the path or edit build.bat to add the full path to ctime.exe. The exe is in the zip in the ctime folder.
| W:\handmade\ctime\ctime.exe -begin handmade_hero.ctm
REM At the end of the file
W:\handmade\ctime\ctime.exe -end handmade_hero.ctm %LastError%
|
Did you call vcvarsall.bat with x64 as an argument to compile for a 64bit target ? Something like:
| "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
|
It should display this if you do (important to have the 'x64' at the end).
| **********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.4.1
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
|
For the warnings you can add "-wd4018 -wd4244" to the CommonCompilerFlags in build.bat but it's probably better to fix those in the code.