MacArthur, Ian (SELEX GALILEO, UK) wrote:

> Does X11 support for win32 under mingw even work?
> 
> Anytime I've used X11 for win32 I have used cygwin - although I have
> never done that recently; but I think Albrecht does build win32/X11
> versions under cygwin.

Yep, but this is only known to work with FLTK 1.3, and there's a
patch somewhere that should enable it for FLTK 1.1.  I don't expect
it to work with FLTK 2 though, but I didn't try.

> For win32 with mingw, is it not simpler and more appropriate to use the
> native target instead?
> That's what I always do, and it Just Works.

Yes, I just did it, too, and it works flawlessly.  The OpenGL demo
programs work as expected.

I did a stock ./configure with MinGW/MSYS after make distclean
and removing the autoconf cache:

$ ./configure
checking for gcc... gcc
...
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
...

Libs: -lmsimg32 -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++
System image libs: -lfltk2_png -lfltk2_z -lfltk2_images -lfltk2_jpeg
Local image libs: ../lib/libfltk2_jpeg.a ../lib/libfltk2_z.a 
../lib/libfltk2_png.a
OpenGL libs: -lglu32 -lopengl32

Build targets: static

--- end of configure output ---

You can see that configure didn't find the system image libs,
but included the FLTK image libs automatically.

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to