> However, perhaps it's just me, but i still dont believe 
> configure is doing things correctly. Whilst building with the 
> above flags, it's still posting messages like "checking for 
> glXMakeCurrent in -lGL... no". It's been a while since i last 
> compiled GL apps for windows, so i may be wrong, but should 
> that not be -lopengl32?


"opengl32" provides the win32 native GL implementation, not the X11 one.

If you want the X11 support, that needs to be handled differently.
Any function with a name beginning "glx..." is likely to be a "GL for
X11" special - the equivalent win32 specials tend to be called "wgl..."
and the apple ones "agl..." and so on...

Anyway, I don't think any of the "glx..." functions are implemented in
the win32 opengl32 lib.


> A quick look through the configure script gives me "case $uname in
>     CYGWIN* | MINGW*)", which seems to suggest that it does 
> have a mingw option, but for some silly reason it doesnt seem 
> to want to pick it up and try to compile with it.

As stated before, the mingw option is best used for *native* win32
builds, not for win32+X11 builds. If you really need win32+X11 then
cygwin is probably your friend.

For the native win32 builds, using an Msys shell, and a recent fltk-2
svn checkout, this just worked for me right now:

./configure --enable-threads --enable-local-jpeg --enable-local-png
--enable-local-zlib 

And all the test and demo stuff builds and runs...

Does this not work for you?

-- 
Ian

SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to