Results 1 to 7 of 7

Thread: OpenAL and FreePascal on Linux

  1. #1
    Bart
    Guest

    OpenAL and FreePascal on Linux

    Hello,

    Does somebody has a simple OpenAL example for FreePascal on Linux?

    I tried this demo but it doesn't seem to work:
    http://www.friends-of-fpc.org/tutori...chapter02.html
    I first translated the header to libopenal.so and I changed alcOpenDevice('DirectSound3D'); to alcOpenDevice(nil); 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?

  2. #2
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    OpenAL and FreePascal on Linux

    I tried compiling the OpenAL headers I had for OpenAL using FreePascal on windows and didn't get very far so I didn;t spend any more time on it.
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

  3. #3

    OpenAL and FreePascal on Linux

    The openal headers are working on Delphi and Kylix. Currently i am working on getting it to work with FreePascal. The most important functions i am missing for the moment are good (working) versions of loadlibrary and freelibrary functions. All seem to load right, but on calling and openal functions i get an error that is suposed to reside in a .c file. I hope to get it working today.
    http://3das.noeska.com - create adventure games without programming

  4. #4

    OpenAL and FreePascal on Linux

    It works...

    A new kylix and fpc example is available for download with tutorial #13 on http://www.noeska.com/doal .
    http://3das.noeska.com - create adventure games without programming

  5. #5
    Bart
    Guest

    OpenAL and FreePascal on Linux

    That works, thanks.

  6. #6
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    OpenAL and FreePascal on Linux

    Excellent, I'll be sure to make a news post.

    Will you be reworking any of your previous tutorials to be Free Pascal compatable?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  7. #7

    OpenAL and FreePascal on Linux

    it is on my todo list, but a new release of 3das is planned first.
    http://3das.noeska.com - create adventure games without programming

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •