Hello Guest

Compilation of libopenal.so

  • 3 Replies
  • 8311 Views
*

Offline hvor

  • *
  • 37
    • http://hvor.madpage.com
Compilation of libopenal.so
« on: December 27, 2005, 15:38:21 »
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 :(

Code: [Select]

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.

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Compilation of libopenal.so
« Reply #1 on: December 27, 2005, 16:02:43 »
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

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Compilation of libopenal.so
« Reply #2 on: December 27, 2005, 16:08:09 »
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

*

Offline hvor

  • *
  • 37
    • http://hvor.madpage.com
Compilation of libopenal.so
« Reply #3 on: December 27, 2005, 16:08:33 »
Oh, Elias! :D
Thanks!