Compilation of libopenal.so

Started by hvor, December 27, 2005, 15:38:21

Previous topic - Next topic

hvor

Can anyone tell me how is libopenal.so compiled for linux? I got this comment on other thread and want to understand it. I really dont know much about linux platforms :(

It doesn't run on my linux system, because you assume that OpenAL context creation goes well and calls an OpenAL function. You shouldn't assume that the sound system could be created, but the real reason it fails here is that my system is ALSA only (SUSE 10) and the bundled libopenal.so is apparently only compiled with OSS support.
b]Hvor Games[/b]

elias

That was me :) You can use the openal library from Tribal Trouble which is relatively recent and with ALSA support. I've uploaded it to:

http://imada.sdu.dk/~enaur/libopenal.so

- elias

elias

The other problem was that your game crashed at all. To fix that, you should not only catch the LWJGLException from AL.create() but also make sure you don't call any OpenAL functions (try to comment out the AL.create() in your game and see what happens).

- elias

hvor

b]Hvor Games[/b]