Linux OS Compiling

From TDN

Compiling T2D under Linux


Currently T2D for Linux is completely community supported. If you wish to contribute or just want to keep up on the progress, please join the T2DLinux.net mailing list.

There is also the TGB Linux forum section you can take advantage of [1]

In a nutshell compiling the downloadable version of TGB is a relatively simple process and involves first determining what version if any of GCC you have installed.

gcc -v

Next go to your TorqueGameBuilderPro_111_Linux/engine/compilers/make

Directory And do something along the lines of

make -f configure.mk OS=LINUX COMPILER=GCC4 BUILD=RELEASE

Next type

make

It will (hopefully) build or it will fail complaining about missing libraries, at which time you would of course just install the missing libs.

When complete you will find a new file called TGB.bin in your TorqueGameBuilderPro_111_Linux/games You will need to chmod it to 755 or better to get it execute then you just

./TGB.bin