Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: GLUT still runs when user closes window

  1. #21

    GLUT still runs when user closes window

    Quote Originally Posted by Robert Kosek
    Lessee if mine works for you. This DLL is for the 2.5 API version, so I included the same version header unit just in case it differs from the latest.

    http://thewickedflea.freepgs.com/glfw.zip
    One question, is that DLL a translation of the library from C to Delphi, and recompiled with Delphi? I don't understand why none the DLLs provided in the GLFW website work with Delphi applications, since those are supposed to be win32 libraries. :?

  2. #22

    GLUT still runs when user closes window

    I found this:

    Can't get OpenGL apps to work in Linux

    Notify me of responses

    I am unable to run any OpenGL applications on RedHat9, the cause might
    be GLUT, when i run any FPC or Kylix compiled project that uses GLUT
    they display an error about X.. function. I don't have any apps that
    use OpenGL directly. I adapted the GLFW unit from
    http://glfw.sourceforge.net/ to be crossplatform and i was able to run
    GL progs on windows but not on linux, i also linked the C code to so.
    I would appreciate some help in running OpenGL apps on Linux.
    The C/C++ based examples also Quake 3 run verry well.
    -- Razvan Adrian Bogdan, 08 septiembre 2004 16:10 (email)


    Answers:


    I had the same problem. I tried to use GLUT but it didn't work. Then I tried to use GLX but it didn't work neither. Now, I'm using SDL and this works verry well. SDL is a libery wich can be used to set up an OpenGL window. SDL is available for many platforms. If you want to use it in FreePascal, you can use the Jedi-SDL headers.
    -- Bart Tierens, 12 septiembre 2004 12:38
    http://community.freepascal.org:1000...forum_id=24083

    So it seems, after all, that I'll have to give a try to SDL, since GLFW is not available for FPC on Linux at the moment. Another dead-end :lol:

  3. #23

    GLUT still runs when user closes window

    Wha? Rats. Their website is out of date then, since it claims to be cross platform. Oh well.

  4. #24

    GLUT still runs when user closes window

    It's cross-platform, yes... but that's for C, not for Pascal at the moment.

    I think what's missing are FPC's headers, because the headers provided by the GLFW team are based on a DLL, which won't work on Linux AFAIK. Someone should write or modify the headers to work with Linux libraries. I would do it, but I'm just a newbie at FPC and Linux.

  5. #25

    GLUT still runs when user closes window

    Quote Originally Posted by cronodragon
    I would do it, but I'm just a newbie at FPC and Linux.
    Ditto, and I don't have access to a Linux PC anymore to boot.

  6. #26

    GLUT still runs when user closes window

    I'm using vmware workstation to run Ubuntu Linux on my Windows XP. It's very easy to configure and runs very well.

Page 3 of 3 FirstFirst 123

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
  •