Game Development Community

Building source code solution errors...

by Alpha-Kand · in Torque Game Builder · 06/08/2012 (1:34 pm) · 3 replies

I looked in the forums for how to edit source code and all that and I FINALLY found out how to "Build solution" but a bunch of errors keep popping up.

I downloaded VS c++ 2005 and tried working with that.

1. Which solution do I build? TorqueGameBuilder, T2D SDK or TGBGame or even somthing else.

2. When I open up a solution and simply click "Build Solution" or "Build <SOLUTION NAME>" it come up with errors like:

error C2227: left of '->getProcessHead' must point to class/struct/union/generic type
error BK1506 : cannot open file '....LinkDebug.Win32TorqueGameBuildert2dSceneObject.sbr': No such file or directory
error C3861: 'getSceneGraph': identifier not found
error C1083: Cannot open include file: 'windows.h': No such file or directory
error C1083: Cannot open include file: 'objbase.h': No such file or directory

Torque runs fine so I can't see that these are legitimate errors if you know what I mean.

Any tips?

About the author

I have always loved video games and computer games so decided to try making my own. Spent a little more than a year on a program simply named Game Maker which really got me interested. Finally decided to get "professional" by getting Torque 2D.


#1
06/08/2012 (2:13 pm)
@Alpha-Kand - You want to upgrade your compiler. Switch to 2008 or 2010 and many of your issues will go away.
#2
06/08/2012 (6:53 pm)
Life is getting in the way. I'll get back to ya when I get some results.
#3
06/10/2012 (10:39 am)
OK it works in VS 2010. Thanks for the tip. Now I just got to figure out how to write code it understands...

Is there any way to step through source code line by line while debugging or is it "Ye Olde" way of debugging except without easy echo?