Compiling rts starter pack with visual studio 2003
by Nathan Follmer · in RTS Starter Kit · 03/09/2006 (1:08 pm) · 2 replies
I have visual studio 2003 and everytime i go to complie it asks me to convert it or something. Then i convert it, it cleans fine, then when i compile, i get 126 errors. most of them are like missing ; before line ##. Should i get an older version of visual studio????
#2
Error 167 error C2146: syntax error : missing ';' before identifier 'PVOID64' f:\games\microsoft visual studio 8\vc\platformsdk\include\winnt.h 222
i get like 100 of those
Error 3 error C2146: syntax error : missing ';' before identifier 'Buffer' f:\games\microsoft visual studio 8\vc\platformsdk\include\winnt.h 5940
another 100 of these
Error 5 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int f:\games\microsoft visual studio 8\vc\platformsdk\include\winnt.h 5940
these too
Error 81 error C2440: 'return' : cannot convert from 'const char *' to 'char *' c:\torque\rtsstarterkit\engine\platformwin32\winstrings.cc 195
and just one of these
it all seems to be in the winnt.h header file.
03/09/2006 (9:33 pm)
Sorry i meant to say im using 2005. My visual studio .net is 2003 (i get those mixed up sometimes). heres the thing that puzzles me though, I just moved the rts pack to my laptop, opened up the file, it didnt ask me to convert it on my laptop, cleaned the solution, and compiled with no problem. Its the exact same version of visual studio AND its the same rts pack. Heres a list of the errors i get:Error 167 error C2146: syntax error : missing ';' before identifier 'PVOID64' f:\games\microsoft visual studio 8\vc\platformsdk\include\winnt.h 222
i get like 100 of those
Error 3 error C2146: syntax error : missing ';' before identifier 'Buffer' f:\games\microsoft visual studio 8\vc\platformsdk\include\winnt.h 5940
another 100 of these
Error 5 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int f:\games\microsoft visual studio 8\vc\platformsdk\include\winnt.h 5940
these too
Error 81 error C2440: 'return' : cannot convert from 'const char *' to 'char *' c:\torque\rtsstarterkit\engine\platformwin32\winstrings.cc 195
and just one of these
it all seems to be in the winnt.h header file.
Torque Owner Jim Wuerch