1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | c:\handmade\code>build.bat 'ctime' is not recognized as an internal or external command, operable program or batch file. cl : Command line warning D9002 : ignoring unknown option '-Zo' simple_compressor.cpp cl : Command line warning D9002 : ignoring unknown option '-Zo' handmade.cpp c:\handmade\code\handmade_world_mode.cpp(117) : error C2059: syntax error : '{' c:\handmade\code\handmade_world_mode.cpp(117) : error C2143: syntax error : missing ';' before '{' c:\handmade\code\handmade_world_mode.cpp(121) : error C2059: syntax error : '{' c:\handmade\code\handmade_world_mode.cpp(121) : error C2143: syntax error : missing ';' before '{' c:\handmade\code\handmade_world_mode.cpp(121) : error C2143: syntax error : missing ';' before '}' c:\handmade\code\handmade_world_mode.cpp(121) : warning C4552: '+' : operator has no effect; expected operator with side-effect Generating Code... Compiling... handmade_msvc.c Generating Code... cl : Command line warning D9002 : ignoring unknown option '-Zo' win32_handmade.cpp c:\handmade\code\handmade_opengl.cpp(791) : error C2001: newline in constant c:\handmade\code\handmade_opengl.cpp(791) : error C2065: 'R' : undeclared identifier c:\handmade\code\handmade_opengl.cpp(791) : error C2143: syntax error : missing ';' before 'string' c:\handmade\code\handmade_opengl.cpp(791) : error C2059: syntax error : 'string' c:\handmade\code\handmade_opengl.cpp(812) : error C2143: syntax error : missing ';' before '{' c:\handmade\code\handmade_opengl.cpp(812) : error C2447: '{' : missing function header (old-style formal list?) |
...plus a lot more.
I think the reason this might be happening is that when I run vcvarsall.bat x64 I'm running it from my visual studio 2010 folder. I downloaded visual studio 2013 express and tried to use the vcvarsall.bat in there but it won't let me run it with the x64 parameter because it says it doesn't have the toolset. Upon searching further it turns out the express version of visual studio 2013 doesn't come with the 64-bit toolset. So I'm not sure where to go from here. Do I need to buy the retail version of visual studio 2013? Is it even available anymore? Is there a better solution someone else knows about? It seems like most people here are able to compile the source so I feel like I'm missing something.