Game Development Community

Linux SDK Installer

by Lee Latham · in Torque Game Engine · 03/31/2006 (3:39 pm) · 35 replies

Recently downloaded the TGE SDK installer for Linux, and I'm having some trouble getting the installer to work. My intention is to build a dedicated server for testing purposes.

So, I downloaded the installer and:

>>>>>
[root@ninja downloads]# wget http://download.garagegames.com/xxx/TorqueGameEngineSDK-1.3.bin
--17:49:37-- http://download.garagegames.com/xxx/TorqueGameEngineSDK-1.3.bin
=> 'TorqueGameEngineSDK-1.3.bin'
Resolving download.garagegames.com... 216.116.32.50
Connecting to download.garagegames.com|216.116.32.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46,833,366 (45M) [application/octet-stream]

100%[====================================>] 46,833,366 728.03K/s ETA 00:00

17:50:35 (797.22 KB/s) - 'TorqueGameEngineSDK-1.3.bin' saved [46833366/46833366]

[root@ninja downloads]# ./To #### Doh, there's no execute bit ######

[root@ninja downloads]# chmod 755 TorqueGameEngineSDK-1.3.bin

[root@ninja downloads]# ./TorqueGameEngineSDK-1.3.bin
[root@ninja downloads]#

>>>>>>>>

Nothing happens. So, I figure I must need to have X installed, which I don't because I'm setting this up on a server. So I downloaded it to a Linux machine that DOES have X installed, and ran it again.

Again, nothing appears to happen.

Am I doing something wrong?

The "file" command tells me this:

TorqueGameEngineSDK-1.3.bin: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

Is the installer corrupted?

Thanks for any help.
Page «Previous 1 2
#1
03/31/2006 (10:48 pm)
The intsaller use graphic panel to request information on installation location. You need x and more ....

Install ubuntu distro and if you have nvdia graphic card install also the drivers.

With ubuntu everything works well !

for more information eviwo.free.fr/
#2
03/31/2006 (11:02 pm)
Just skip the installer and pull the source from CVS.
#3
04/01/2006 (1:11 am)
OK, thanks guys. I grabbed the source from CVS and built a dedicated server. Installed X 4.5.0, SDL 1.2 and libtheora. I think that was all.

I'm able to run the server, but when I try to connect using a Windows client that I built from source that I just grabbed with TortoiseCVS, I get an error that says I don't have the same version of the FPS starter kit or the artwork needed for the mission.

I'm confused. Any tips? These versions should match, I'd think.
#4
05/27/2006 (3:41 pm)
I am running 'sarge' debian, latest stable build, when I try to run the bin from the linux download, I get:

The filename "TorqueGameEngineSDK-1.3.bin" indicates that this file is of type "unknown". The contents of the file indicate that the file is of type "executable". If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "executable", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
#5
05/27/2006 (3:56 pm)
I am running 'sarge' debian, latest stable build, when I try to run the bin from the linux download, I get:

The filename "TorqueGameEngineSDK-1.3.bin" indicates that this file is of type "unknown". The contents of the file indicate that the file is of type "executable". If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "executable", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
#7
05/27/2006 (7:13 pm)
That was part of the problem for debian 'sarge' the other problem is the extension.
Rename the file to :
TorqueGameEngineSDK-13

Remove any periods in the name.
Thanks for that hint.
#8
05/27/2006 (7:47 pm)
Second question, I purchsed TGB also, got the linux download, but it doesn't have an installer, I have g++ and gcc installed now, what is the command to build TGB for T2D?
#9
05/28/2006 (4:43 am)
If you want to try the latest beta for TGB, download the Windows 1.1 Beta4 zip. When you are in the TorqueGameBuilder directory, cd to the engine/compilers/make/ directory. Run the command 'make -f configure.mk' from there. You will then be shown the instructions for what needs to be done. On my system, I have gcc 3.3.5, so the complete command I run is:

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

The only one you would probably change is the COMPILER one. If you're not sure what version of gcc you have, type 'gcc -dumpversion' to find out. Once you have a valid configuration, type 'make' to start the build process.
#10
05/28/2006 (9:23 am)
That made a valid make file, and I am using 3.3.5 also, but when I do make, it creates a folder and I have alot of warnings, tons as a matter of fact, end result is that it compiles some of it, nothing is in the RELEASE folders T2D folder, and it dies on one of the math compile lines.


Here is just part of the compile log: (buffer nuked the rest)

/bin/sh: line 1: freetype-config: command not found
In file included from dgl/gNewFont.h:29,
from dgl/gFont.h:26,
from gui/core/guiTypes.h:10,
from gui/core/guiControl.h:25,
from gui/editor/guiGraphCtrl.h:10,
from gui/editor/guiGraphCtrl.cc:9:
dgl/gTexManager.h:428:26: warning: no newline at end of file
gui/editor/guiGraphCtrl.cc:350:2: warning: no newline at end of file
--> Compiling gui/editor/guiImageList.cc
/bin/sh: line 1: freetype-config: command not found
In file included from dgl/gNewFont.h:29,
from dgl/gFont.h:26,
from gui/core/guiTypes.h:10,
from gui/editor/guiImageList.h:25,
from gui/editor/guiImageList.cc:10:
dgl/gTexManager.h:428:26: warning: no newline at end of file
gui/editor/guiImageList.cc: In member function 'U32 GuiImageList::Insert(const
char*, TextureHandleType)':
gui/editor/guiImageList.cc:23: warning: converting of negative value '-1' to '
unsigned int'
gui/editor/guiImageList.cc:36: warning: converting of negative value '-1' to '
unsigned int'
gui/editor/guiImageList.cc:51: warning: converting of negative value '-1' to '
unsigned int'
gui/editor/guiImageList.cc: In member function 'U32
GuiImageList::IndexFromId(unsigned int)':
gui/editor/guiImageList.cc:92: warning: converting of negative value '-1' to '
unsigned int'
gui/editor/guiImageList.cc:105: warning: converting of negative value '-1' to '
unsigned int'
gui/editor/guiImageList.cc: In member function 'U32
GuiImageList::IndexFromPath(const char*)':

: truncating here to keep it within posting limits
:
:

--> Assembling math/mMath_ASM.asm
/bin/sh: line 1: nasm: command not found
make[1]: *** [out.GCC3.RELEASE/math/mMath_ASM.obj] Error 127
make: *** [default] Error 2
#11
05/28/2006 (9:33 am)
Yeah, you will see about a billion warnings during compile. However, the problem for you right now is that you need nasm installed in your distro. You can find it here for Debian.
#12
05/28/2006 (10:27 am)
Ok, installed nasm and got past that error... new stop point:
make[1]: *** [out.GCC3.RELEASE/platformX86UNIX/x86UNIXFileio.obj] Error 1
make: *** [default] Error 2


, oddly, I do have the x11 libraries installed, which package do I need for this?
(there really does need to be a shopping list of all the packages needed to install and run T2D on linux :) )
Thanks a ton for all the help, its getting me forward on this atleast.
#13
05/28/2006 (10:37 am)
You will need to post a few more lines above that to see what is causing the error.
#19
05/28/2006 (10:56 am)
I have tried 5 times now to post a few extra lines, its not taking my posts.
I'll shoot you an email.

Edit, well after I shot you an email, I tried again, but it just won't take the other lines (only added 4 to the post) something in them the editor doesn't like. (GG's web editor that is)
Page «Previous 1 2