#57 freeglut for cygwin but using w32api OpenGL (not Mesa/GLX)

closed
nobody
Easy (28)
5
2008-11-06
2008-06-18
Chris Marshall
No

The current cygwin has two flavors of OpenGL
available:

(1) OpenGL/Mesa using "GLX" and X11

(2) hardware accelerated w32api OpenGL/WGL

It is possible to compile to either of these
targets depending on include and link options.

I would like to be able to build/use a w32api
freeglut with cygwin as we currently use the
existing w32api glut with hardware acceleration.
Version 2.2.0 for software Mesa/GLX freeglut
is already usable in cygwin (case 1 above).

Easy: get the linking working for the win32
freeglut to use with cygwin exactly the way
the current glut is useable. It would be ok
to build the win32 freeglut and then have a
little config/linking step for cygwin.

Hard: add the configure and build support
for cygwin to freeglut so both options are
buildable out-of-the-box.

Thanks,
Chris

Discussion

  • Sven Panne
    Sven Panne
    2008-11-06

    After a few minor fixes the behaviour is now as follows: If "configure" is called with the "--without-x" flag, freeglut is built against the native Windows OpenGL, otherwise it is built against Cygwin's OpenGL from X11 (probably Mesa).

     
  • Sven Panne
    Sven Panne
    2008-11-06

    • status: open --> closed