LWJGL
June 19, 2013, 12:36:07 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Compilation of libopenal.so  (Read 4649 times)
hvor
Newbie
*
Posts: 37



WWW
« on: December 27, 2005, 07: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 Sad

Code:

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.
Logged

elias
Nerdus Imperius
*****
Posts: 899



WWW
« Reply #1 on: December 27, 2005, 08:02:43 »

That was me Smiley 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
Logged

elias
Nerdus Imperius
*****
Posts: 899



WWW
« Reply #2 on: December 27, 2005, 08: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
Logged

hvor
Newbie
*
Posts: 37



WWW
« Reply #3 on: December 27, 2005, 08:08:33 »

Oh, Elias! Cheesy
Thanks!
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!