Results 1 to 2 of 2
Thread: Installing OpenAL
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2005
Anyways.... basically i've been trying to install OpenAL because, evidently, the one linux installs, particularly Suse 10.0, doesn't exactly work with UT2004 (since UT2004 runs horribly when i have the sound on, but once i turn it off it runs magically 10x faster).
So these are the things i want to do in order
1. Install OpenAL
2. Copy "openal.so" (or libopenal.so and rename it openal.so) into /home/ME/ut2004/System/
3. Then install a hardware accelerated version of OpenAL that i found at here
http://www.linux-gamers.net/modules/...p?articleid=40 (look under "3. SDL and OpenAL")
Once i get OpenAL installed, the rest shouldn't be too hard to do.
Also, since i there is no ./configure in the openal/beos/src folder i just tried make...and whenever i try to make i get
Makefile:39: /boot/develop/etc/makefile-engine: No such file or directory make: *** No rule to make target `/boot/develop/etc/makefile-engine'. Stop.
Thanks to loft306, i've figured out most of what my problem is. For some reason, CVS isn't getting all the files i need to install OpenAL (mainly the directory "linux" in the openal folder). So, once i figure out why the hell CVS is getting all the files i'm pretty much screwed.
you will have to run theCode:
sh ./autogen.shIf this is your first time retrieving CVS, you will need to build the
configure script and config.h.in dependency. Just run
and you should be okay.
Compilation / installation goes something like this:
If you are on x86(_64) if may be wise to send your CFLAGS along to
configure, as dependening on them, SIMD code will be activated, ie:
CFLAGS="-march=athlon-xp" ./configure --prefix=/usr/local
configure will detect that "-march=athlon-xp" activates MMX, SSE,
3dNOW!, SSE-MMX and 3dNOW! extended. You can also explicitly enable a
specific SIMD instruction set via CFLAGS, ie -mmmx activates MMX on the
GCC compiler. Refer to its manual. Currently OpenAL only features some
MMX code though, so other SIMD instruction set are ignored.
On x86 (32 bit) it is advised to have nasm installed. Then it is safe
to activate all SIMD instruction sets at compile time, as at runtime the
detection will only activate supported SIMD routines.
(Above example shouldn't be used as such though, as it doesn't do any
optimization, so send more flags and/or use the optimization configure
--enable-debug Enable debugging info.
--enable-optimization Enables optimization.
etc... Use --help to determine the rest. Most people will be fine with
Debugging options are now in the form:
in general, this will give you too much information to be useful on a
particular topic. Use --enable-debug-maximus to get all debugging
If this is your first time installing openal, you'll probably need to
The following changes have taken place that may alter the manner in
which an installation works on your machine. Please be advised:
- SDL is no longer required to build --- the conversion code
has been copied into the audioconvert directory.
If you experience any problems building or with the test code, please
email me: firstname.lastname@example.org. Thanks.