- relocation error: /home/.../Project1: undefined symbol: initPAnsiStrings
DGL https://delphigl.com/forum/ |
|
OpenAL and FreePascal and Linux https://delphigl.com/forum/viewtopic.php?f=19&t=3433 |
Seite 1 von 1 |
Autor: | BTierens [ Do Nov 04, 2004 10:51 ] |
Betreff des Beitrags: | OpenAL and FreePascal and Linux |
Hi, Does somebody has a very basic demo about OpenAL with FreePascal and Linux? I tried this demo but it doesn't seem to work: http://www.friends-of-fpc.org/tutorials ... ter02.html I first translated the header to libopenal.so but I don't hear anything. I've installed libopenal0-0.0.7-2mdk.i586.rpm and libopenal0-devel-0.0.7-2mdk.i586.rpm. Do I need newer libs? |
Autor: | noeska [ Do Nov 04, 2004 12:16 ] |
Betreff des Beitrags: | |
The problem with that example is that it chooses DIRECT3D wich is not available under Linux. Have a look at http://www.noeska.com/doal . The examples are for the moment windows only. For an half year ago i had something working with Kylix. I try to dig up that code from Linux and post it on the doal site this weekend. |
Autor: | BTierens [ Do Nov 04, 2004 12:44 ] |
Betreff des Beitrags: | |
Thanks. I changed DirectSound3D to MMSYSTEM of cource. |
Autor: | noeska [ Do Nov 04, 2004 13:28 ] |
Betreff des Beitrags: | |
But even mmsystem does not exist under Linux. Read tutorial #13 on my site on how to determine what is possible. Also on using the new openal unit you can: InitOpenAL('libopenal.so'); I do not quite remember the naming of the .so file under linux. So have a look inside those rpm files. Maybe you also have to include the path to the lib. Let me know if this works or not. EDIT: InitOpenAL('libopenal.so'); should be OK. I uploaded the kylix example for tutorial 13 to my openal site. Strip the gui part and you should have an working free pascal example. If you have got that working please let me know so i can include it on the doal site. |
Autor: | BTierens [ Do Nov 04, 2004 19:46 ] |
Betreff des Beitrags: | |
Code:
Calling this in FreePascal gives an acces violation (in one of the writeln functions). I tried your demo with kylix. It compiles but when executing the program, I get this: Code:
|
Autor: | noeska [ Do Nov 04, 2004 20:21 ] |
Betreff des Beitrags: | |
the used extension does not seem to work properly under linux. You can use it to play sound though. Just do not display those lines. What kylix do you use? I use Kylix 2 Pro. |
Autor: | BTierens [ Do Nov 04, 2004 21:55 ] |
Betreff des Beitrags: | |
Kylix 3 Open |
Autor: | noeska [ Fr Nov 05, 2004 16:51 ] |
Betreff des Beitrags: | |
Please try recreating the application with your kylix, follow the tutorial and do the steps. I cannot help you with that as i do not have kylix 3 open edition. Following the tutorial should be easy enough though. Just use the openal.pas i supplied with the kylix 2 example. |
Autor: | noeska [ So Nov 07, 2004 14:23 ] |
Betreff des Beitrags: | |
I got an freepascal linux example working. A new kylix and fpc example is available for download with tutorial #13 on http://www.noeska.com/doal . |
Autor: | BTierens [ Mi Nov 10, 2004 13:33 ] |
Betreff des Beitrags: | |
I know. (I'm the same person as Bart from the dgdev thread). |
Autor: | noeska [ Mi Nov 10, 2004 14:11 ] |
Betreff des Beitrags: | |
I knew that, but just in case someone else here was following the tread i made the announcement here also. |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |