View previous topic :: View next topic |
Author |
Message |
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Sat Sep 25, 2004 5:40 pm Post subject: anyone got openal working on linux yet? |
|
|
just wondering if anyone has gotten openal to work on linux.
i tried but for some reason DerelictAL_Load() gave an exception.
I'll try some more and see what I can do. |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sun Oct 24, 2004 12:54 am Post subject: |
|
|
Did you ever get anywhere with this? Also, what message was the exception giving? |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Sun Oct 24, 2004 1:15 pm Post subject: |
|
|
hehe. no i never really got anywhere with this, though i havn't tried very hard.
sorry for the newb question but... how do i get the message the exception gives? : ) thx. |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Sun Oct 24, 2004 8:31 pm Post subject: |
|
|
clayasaurus wrote: | how do i get the message the exception gives? : ) thx. |
You can get the message directly via the msg member of the Exception class, or alternatively print the message to stdout via Exception's print method:
Code: |
import std.string;
int main(char[][] args)
{
Exception e = new Exception("My Exception");
e.print();
printf(e.msg.toStringz());
return 1;
}
|
The Exception class is declared in phobos/object.d if you want to look it over. |
|
Back to top |
|
|
|