Game Development Community

Important : cannot compile under linux

by Frank Bignone · in Torque Game Engine · 03/07/2002 (5:46 am) · 6 replies

Hy,
I cannot compile the torque SDK under Linux. I have a problem with the openal library. I cannot get it on www.openal.org (CVS & FTP site are down), so I get it from another location. However, it seems it's an *old* release. It misses some include. Here is a small subset of the error I get when compiling.
platform/platformAL.h:16:25: al/eaxtypes.h: No such file or directory
platform/platformAL.h:20:24: al/al_func.h: No such file or directory
platform/platformAL.h:21:25: al/alc_func.h: No such file or directory
platform/platformAL.h:22:25: al/eax_func.h: No such file or directory

So can someone put the correct openal library somewhere so I can download it and compile torque under Linux, please !! (I will pay you some beer :) )

Thx

About the author

Real programmers don't waste time recompiling; they patch the binary files... ... Real programmers don't waste time patching binary files; they patch memory.


#1
03/07/2002 (6:35 am)
You may try it here:
ftp://ftp.suse.com/pub/suse/i386/current/full-names/i386/openal-000508-257.i386.rpm

The download works, but I haven't tried the installation yet...
Good luck!
#2
03/07/2002 (6:51 am)
It seems it's for the suse distrib. I have a redhat distrib but I will give a try.
#3
03/07/2002 (7:00 am)
Yep, it should work with Redhat (it's a RedhatPM, though ;), too... at least it works the other way around most of the times... ;)
#4
03/07/2002 (7:42 am)
Get it but .... still missing include files (it is release 0.0.1, and I have release 0.0.6 of the library)

Please I need your help. GG guys you should have it as you compile torque on linux. Can you put it on your CVS server also ?

Thx
#5
03/07/2002 (7:59 am)
You only need the compiled libs from the openal sdk, not the
header files. Torque includes its own openal header files
in lib/openal/LINUX. In that directory, make sure that the
al folder is "al" and not "AL". Sometimes when a torque
directory tree is copied from a windows partition, the case
of that directory is not preserved; this causes problems.

Also, the files in the "al" directory should be the same
as lib/openal/win32/al. If they aren't try to cvs update
the directory. If that doesn't work, copy the files over
from the win32/al directory.

You should be using the "0.0.6" version of openal, as far
as I know this is the latest "version" of it. However
there are no "stable" versions of openal, just cvs snapshots,
and some of these are known to be bad. If you have problems,
you can download the openal version that I'm using, which I
know works. You can find that here:

64.81.49.178/torque/openal-20011111.tar.gz
#6
03/07/2002 (8:02 am)
Great it works
In fact, my dir tree was linux/al and not LINUX/al
I changed it, and now it compiles
Thx