Game Development Community

How to Compile Torque Game Builder 1.7.5

by MoCubed · in Torque Game Builder · 06/05/2010 (12:13 pm) · 3 replies

Simple question, but I tried searching the forums to no avail. I have Visual Studios .NET 2003 and no installation of Unix available to run the makes. Does anyone know the most effective way for someone like myself to compile the source code of the new release, since there is no project available in VS2003? Thanks in advance.

#1
06/05/2010 (2:06 pm)
You can get Visual Studio C++ 2008 Express Edition for free from Microsoft. There are instructions on compiling here: tdn.garagegames.com/wiki/TGB/Setting_up_Compiler. If you run into problems, just reply to this post and I can give you some further help.
#2
06/06/2010 (10:57 am)
:edit

Maybe I spoke too soon - things were working out pretty well until trying to compile the TGBGame.exe and TorqueGameBuilder.exe. I'm running into a string of several hundred errors involving Microsoft Visual Studios 9.0. Most of them are in sourceannotations.h or stdio.h.

For Example:
d:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(234) : error C3083: 'vc_attributes': the symbol to the left of a '::' must be a type
d:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(234) : error C2039: 'YesNoMaybe' : is not a member of '`global namespace''
d:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(234) : error C2146: syntax error : missing ';' before identifier 'SA_YesNoMaybe'
d:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(251) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
d:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(252) : error C3083: 'vc_attributes': the symbol to the left of a '::' must be a type
d:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(252) : error C2039: 'PostBoundAttribute' : is not a member of '`global namespace''
d:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(252) : error C2146: syntax error : missing ';' before identifier 'SA_PostBound'
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(189) : error C2337: 'SA_Post' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(189) : error C2337: 'SA_Pre' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(189) : error C2337: 'SA_Pre' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(189) : error C2337: 'SA_Post' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(190) : error C2337: 'SA_Pre' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(190) : error C2337: 'SA_Pre' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(190) : error C2337: 'SA_Pre' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(190) : error C2337: 'SA_Pre' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(190) : error C2337: 'SA_Post' : attribute not found
D:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(195) : error C2337: 'SA_Post' : attribute not found

I'm going to double check about making sure that everything was done in the options window, but if you know what I'm looking at here, I'd appreciate the help. Thank you again.
#3
06/06/2010 (2:12 pm)
I've never seen these error messages before. Make sure that you used the VisualStudio 2008 project and make sure that you have all of the proper SDKs.