TBE for code::blocks
by Eddy · in Technical Issues · 09/16/2005 (7:07 pm) · 12 replies
I 've made some tests only for torque 1.3
-----------------------------------------------
How to install
-----------------------------------------------
1 - install MinGW 3.1.0 : here
2 - install MSys 1.0 : here
3 - unzip this file in your torque folder (for example c:\torque\sdk\) : makefile for CodeBlocks
4 - install codeblocks IDE : www.codeblocks.org
5 - open codeblocks IDE and set up the GCC compiler ( it's the default compiler) :

Look below, I changed the minGW path...


Look below, I added an extra path for Msys...


6 - open the file SDK/vc6/Torque SDK.dsw
CodeBlocks will ask two questions, reply YES YES.
After all of that, it will import all files of torque project.
7 - open the projects SDK/make DEBUG.cbp and SDK/make RELEASE.cbp
This is the result :

-----------------------------------------------
How to build project
-----------------------------------------------
right-click on Make DEBUG or Make RELEASE project, select compile menu
This is the result :

DEBUG -> exe icon / dos window / warning
RELEASE -> exe icon / no dos window / no warnings
-----------------------------------------------
HELP
-----------------------------------------------
** original TBE **
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7362
** makefile infos **
www.garagegames.com/mg/forums/result.thread.php?qt=33474
** REMOVE DOS WINDOW ***
www.garagegames.com/mg/forums/result.thread.php?qt=2617
** change icon ***
www.rstralberg.com/tbe.html
-----------------------------------------------
How to install
-----------------------------------------------
1 - install MinGW 3.1.0 : here
2 - install MSys 1.0 : here
3 - unzip this file in your torque folder (for example c:\torque\sdk\) : makefile for CodeBlocks
4 - install codeblocks IDE : www.codeblocks.org
5 - open codeblocks IDE and set up the GCC compiler ( it's the default compiler) :

Look below, I changed the minGW path...


Look below, I added an extra path for Msys...


6 - open the file SDK/vc6/Torque SDK.dsw
CodeBlocks will ask two questions, reply YES YES.
After all of that, it will import all files of torque project.
7 - open the projects SDK/make DEBUG.cbp and SDK/make RELEASE.cbp
This is the result :

-----------------------------------------------
How to build project
-----------------------------------------------
right-click on Make DEBUG or Make RELEASE project, select compile menu
This is the result :

DEBUG -> exe icon / dos window / warning
RELEASE -> exe icon / no dos window / no warnings
-----------------------------------------------
HELP
-----------------------------------------------
** original TBE **
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7362
** makefile infos **
www.garagegames.com/mg/forums/result.thread.php?qt=33474
** REMOVE DOS WINDOW ***
www.garagegames.com/mg/forums/result.thread.php?qt=2617
** change icon ***
www.rstralberg.com/tbe.html
#2
I didn't manage to import VC7 project files in CodeBlocks, it was buggy, so I was waiting for an update.
But now, thx to your guide we can compile faster and with more possible optimizations than VC++ !
Thx a lot :)
09/17/2005 (1:58 pm)
Excellent work !! :DI didn't manage to import VC7 project files in CodeBlocks, it was buggy, so I was waiting for an update.
But now, thx to your guide we can compile faster and with more possible optimizations than VC++ !
Thx a lot :)
#3
** I made some tweaks, look below :
DEBUG -> exe icon
RELEASE -> exe icon / dos window disabled / warnings disabled
** you can change the game icon:
SDK/engine/icon.ico
Voila :)
09/17/2005 (11:29 pm)
I updated the makefiles.** I made some tweaks, look below :
DEBUG -> exe icon
RELEASE -> exe icon / dos window disabled / warnings disabled
** you can change the game icon:
SDK/engine/icon.ico
Voila :)
#4
09/18/2005 (1:26 am)
Nice work. i really like Code::Blocks, the price is right!
#5
Of course, you'll likely have to scrounge up a few extra files from the net (platform sdk, directx 9 sdk, missing tools and libs...), and of course you'll need to make/update the build scripts, but should work :)
09/18/2005 (2:05 am)
You can also compile TSE using this method, using the Visual c++ 2003 toolkit, or alternatively MinGW if you can figure out how to convert the directx9 libs over.Of course, you'll likely have to scrounge up a few extra files from the net (platform sdk, directx 9 sdk, missing tools and libs...), and of course you'll need to make/update the build scripts, but should work :)
#6
09/18/2005 (3:46 am)
CodeBlocks crashes when importing the Torque SDK :(
#7
...or at least, it was fine till i got up to the .asm files - i can't seem to build them, even though i added a custom build command for them!
This ide is still buggy in a few places, so i would not recommend using it until it matures a bit :)
09/18/2005 (4:30 am)
Just tried converting and compiling the TSE project (without makefile's) - it worked!...or at least, it was fine till i got up to the .asm files - i can't seem to build them, even though i added a custom build command for them!
This ide is still buggy in a few places, so i would not recommend using it until it matures a bit :)
#8
09/18/2005 (8:37 am)
You get what you pay for. In my professional experience, Visual Studio is by far the best IDE out there. Just install it and it works. It's also clean, robust, intuitive, attractive, etc. And at about $100 they aren't gouging you either. $100 is well worth not having to deal with buggy products that are immature.
#9
If not, you can import all DSP project files.
09/18/2005 (8:46 am)
@Yannick LahayQuote:CodeBlocks crashes when importing the Torque SDK :(If you use CodeBlocks RC1-1, try to import the VC7/Torque SDK.sln.
If not, you can import all DSP project files.
#10
I got an error message: "Can not wait for thread termination (error 6)"
but the project is imported.
I hope it will work :)
09/19/2005 (2:34 pm)
I've just tried to import the .sln file.I got an error message: "Can not wait for thread termination (error 6)"
but the project is imported.
I hope it will work :)
#11
04/17/2006 (5:29 pm)
Is it surposed to make ur pc restart when compiling ?
Torque Owner Eddy
Any improvements are accepted. :)