Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26

Thread: GLUT still runs when user closes window

  1. #11

    GLUT still runs when user closes window

    Hey, thanks a lot!

    Reading the reference, I have one question: is it possible to handle more than one window? I see those functions don't have a window handler. Or is there a future plan to implement that feature?

    EDIT: Something else, is it possible to compile apps with GLFW in Lazarus/FPC on Linux? I only see Delphi listed.

  2. #12

    GLUT still runs when user closes window

    I have absolutely no idea. After a quick browse through of the header I'm pretty sure it's a single window interface at the present time. As for future plans I am not "in the know," as it is called.

  3. #13

    GLUT still runs when user closes window

    Something else, is it possible to compile apps with GLFW in Lazarus/FPC on Linux? I only see Delphi listed.

  4. #14

    GLUT still runs when user closes window

    Phoenix uses GLFW for window management and is fully Lazarus/FPC compatible.

  5. #15

    GLUT still runs when user closes window

    I see Phoenix also uses dglOpenGL... what is it?

  6. #16

    GLUT still runs when user closes window

    dglOpenGL are the headers from DelphiGL.com, and in this case they're the headers for OpenGL 2.0. The default Delphi header I think is either 1.1 or 1.5; so DGL is one of the latest and greatest.

  7. #17

    GLUT still runs when user closes window

    Quote Originally Posted by cronodragon
    I see Phoenix also uses dglOpenGL... what is it?
    From the dglOpenGL.pas unit:

    OpenGL 2.0 - Headertranslation (includes GL 1.1 - 2.0)
    Amnoxx

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki
    http://www.phoenixlib.net/

    Phoenix Forum
    http://www.pascalgamedevelopment.com/viewforum.php?f=71

  8. #18

    GLUT still runs when user closes window

    I'm using GLFW in Lazarus/Linux, and I get this error:

    /usr/bin/ld: cannot find -lglfw.dll

    Where can I find that file, I checked the other .dll of GLFW and it isn't there.

    Thanks!

  9. #19

    GLUT still runs when user closes window

    glfw.dll definately will not exist under linux, if it is available it will probably be called something like libglfw.so. You will have to update your header files to use that name. You will also need to make sure that libglfw.so is installed as well.
    <A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
    <br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
    <br /></A>

  10. #20

    GLUT still runs when user closes window

    Oh, I see there is a make file to install the library. I'll try it when I get home, thanks!

Page 2 of 3 FirstFirst 123 LastLast

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
  •