Compiling with Visual Studio 2005?
by Ty Newton · in Torque Game Builder · 01/30/2006 (12:14 am) · 14 replies
Hi,
I am new to this and I seem to need to recompile T2D v1.0.2 so that I can use the enhanced debugging in Torsion. I have tried to use the 3b alpha version that has been released but, like I said, I am new and the example tutorials don't match the structure of T2D anymore so I can't get anywhere with it.
I did some searching and found a few hints on solving problems with VS2005 but I can't get rid of all the errors/warnings. Can anyone help?
It would be nice if someone who knows what they are doing could throw together the VS2005 project/solution files for v1.0.2 and distribute them. Surely someone at GG could have it done in 10 minutes instead of me spending days pulling my hair out while wishing I had saved my money and waited for the release version.
Thanks.
I am new to this and I seem to need to recompile T2D v1.0.2 so that I can use the enhanced debugging in Torsion. I have tried to use the 3b alpha version that has been released but, like I said, I am new and the example tutorials don't match the structure of T2D anymore so I can't get anywhere with it.
I did some searching and found a few hints on solving problems with VS2005 but I can't get rid of all the errors/warnings. Can anyone help?
It would be nice if someone who knows what they are doing could throw together the VS2005 project/solution files for v1.0.2 and distribute them. Surely someone at GG could have it done in 10 minutes instead of me spending days pulling my hair out while wishing I had saved my money and waited for the release version.
Thanks.
#2
i dont remember what engine modifications i had to make (but you will need to make some)
but its not too difficult, the errors are, in general pretty obvious.
If you can post your exact errors, i'll tell you how to fix them, as like i said, i got it working myself so every problem you will run into i've run into and fixed.
-Jason
02/03/2006 (6:27 pm)
Fyi, i use visual studio 2k5, so you can do it.i dont remember what engine modifications i had to make (but you will need to make some)
but its not too difficult, the errors are, in general pretty obvious.
If you can post your exact errors, i'll tell you how to fix them, as like i said, i got it working myself so every problem you will run into i've run into and fixed.
-Jason
#3
02/03/2006 (6:27 pm)
And btw, sorry for not seeing this earlier. the damn website layout makes it impossible for me to see new threads unless i read the website every 1.5 hours.
#4
Express Beta Products first, then post your questions.
actually, follow those instructions regardless of what VS product you are using... that's how i solved most of my problems (but there are a few extra)
02/03/2006 (6:29 pm)
And sorry, ONE MORE thing... are you using VS 2005, or the express products? if you are using the express products, follow the instructions on here: Visual Studio 2005 Express Beta Products first, then post your questions.
actually, follow those instructions regardless of what VS product you are using... that's how i solved most of my problems (but there are a few extra)
#5
I have seen your posts regarding issues with the new site layout, and don' understand. I read more forum threads than nearly anybody in the community, and it works to follow threads. Here is how you do it. Mark all as read. Then when you come back, and click on Unread posts, it will show you only the threads that have been changed. If it isn't working for you in that manner, please let me know wha the problem is.
-Jeff Tunnell, GG
02/03/2006 (8:29 pm)
Jason,I have seen your posts regarding issues with the new site layout, and don' understand. I read more forum threads than nearly anybody in the community, and it works to follow threads. Here is how you do it. Mark all as read. Then when you come back, and click on Unread posts, it will show you only the threads that have been changed. If it isn't working for you in that manner, please let me know wha the problem is.
-Jeff Tunnell, GG
#6
I guess part of the problem for me was i never knew about the 'mark all as read' link in the upper right of the page.
Now that I know that, it solves probably the biggest problem I had with the fourms. Thanks for the tip on this.
02/05/2006 (8:31 pm)
@Jeff: Ahh, okay, those instructions worked out well.I guess part of the problem for me was i never knew about the 'mark all as read' link in the upper right of the page.
Now that I know that, it solves probably the biggest problem I had with the fourms. Thanks for the tip on this.
#7
I opened engine/compilers/Visual Studio 2005/T2D SDK.sln and went build solution. Ive been through all the forums, and can't figure out the issue. I'm using Calef's mini Platform SDK.
I get the following errors:
02/21/2006 (11:10 am)
I can't get a fresh beta 1.1 to compile with Visual Studio 2005 express.I opened engine/compilers/Visual Studio 2005/T2D SDK.sln and went build solution. Ive been through all the forums, and can't figure out the issue. I'm using Calef's mini Platform SDK.
I get the following errors:
Quote:
------ Build started: Project: glu2d3d, Configuration: Debug Win32 ------
Performing Pre-Build Event...
Could Not Find c:\SOURCEFunkMergedSPANKINGNEW\engine\Lib\directx8\basetsd.h
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
Build log was saved at "file://c:\SOURCEFunkMergedSPANKINGNEW\engine\Link\Debug\opengl2d3d\BuildLog.htm"
glu2d3d - 1 error(s), 0 warning(s)
------ Build started: Project: T2D, Configuration: Debug Win32 ------
Performing Pre-Build Event...
Could Not Find c:\SOURCEFunkMergedSPANKINGNEW\engine\Lib\directx8\basetsd.h
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '..\..\link\debug\astAlloc.sbr': No such file or directory
Build log was saved at "file://c:\SOURCEFunkMergedSPANKINGNEW\engine\Link\Debug\BuildLog.htm"
T2D - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 5 up-to-date, 0 skipped ==========
#8
so make sure you have your include paths setup properly.
also, i dont know what "Calefs mini platform SDK" is, but whatever it is, i'm suspicious. Try downloading the "real" PSDK and give it a go.
02/21/2006 (12:25 pm)
@Chris: obviously you are missing a reference to c:\SOURCEFunkMergedSPANKINGNEW\engine\Lib\directx8\basetsd.hso make sure you have your include paths setup properly.
also, i dont know what "Calefs mini platform SDK" is, but whatever it is, i'm suspicious. Try downloading the "real" PSDK and give it a go.
#9
02/21/2006 (6:51 pm)
I'm pretty sure he's talking about the expired concept of the Torque Build Environment, which no longer works with TGE (as of 1.4), and is not supported at all with TGB.
#11
As for Calef's Mini SDK, it's a version of the platform SDK stripped down to the bare minimums actually needed to build stuff. I'm using it currently to build T2D and TGE without problems.
02/22/2006 (6:37 pm)
I don't think the basetsd.h is the actual problem there at all. I don't have that file, and despite the complaint that it can't find it, I just successfully built T2D without that file in place, and with no errors.As for Calef's Mini SDK, it's a version of the platform SDK stripped down to the bare minimums actually needed to build stuff. I'm using it currently to build T2D and TGE without problems.
#12
The issue is it CANT find the file. Ive quadrupil checked. There is no basetsd.h file in there. It must not ship with T2D.
I'm glad the Platform SDK isn't the problem. That saves me a huge download.
I can build TGE1.4 no problem. Just not T2D.
02/23/2006 (3:33 am)
Quote:
Could Not Find c:\SOURCEFunkMergedSPANKINGNEW\engine\Lib\directx8\basetsd.h
The issue is it CANT find the file. Ive quadrupil checked. There is no basetsd.h file in there. It must not ship with T2D.
I'm glad the Platform SDK isn't the problem. That saves me a huge download.
I can build TGE1.4 no problem. Just not T2D.
#13
02/23/2006 (4:12 am)
I should note. I have no problems compiling alpha 4... I just cant get beta 1 to compile
#14
I checked again to see if basetsd.h was in that directory, and it wasnt... so I copied it from the platform sdk, and pasted it where I was supposed to delete it from.
Now it compiles.
02/23/2006 (4:32 am)
I got it to compile.I checked again to see if basetsd.h was in that directory, and it wasnt... so I copied it from the platform sdk, and pasted it where I was supposed to delete it from.
Now it compiles.
Torque Owner Ty Newton
Due to the total lack of response can I assume that everyone uses Visual Studio 2003 with T2D? It is a shame since VS2005 seems to be a superior product and GG do say the Visual Studio is the supported development platform.
If anyone from GG reads these forums it would be nice to get an idea of when VS2005 will be the prefered compiling environment.