Registriert: Di Jul 01, 2003 18:59 Beiträge: 887 Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
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.
Registriert: Di Jul 01, 2003 18:59 Beiträge: 887 Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
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.
Registriert: Di Jul 01, 2003 18:59 Beiträge: 887 Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
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.
Mitglieder in diesem Forum: 0 Mitglieder und 11 Gäste
Du darfst keine neuen Themen in diesem Forum erstellen. Du darfst keine Antworten zu Themen in diesem Forum erstellen. Du darfst deine Beiträge in diesem Forum nicht ändern. Du darfst deine Beiträge in diesem Forum nicht löschen. Du darfst keine Dateianhänge in diesem Forum erstellen.