> Ben Stott wrote:
> > Hi guys,
> >
> > After recently reformatting the hard drive and realising that i needed my 
> > copy of things FLTK related, proceeded to install it.
> > The regular install for gcc/g++ went off without a hitch.
> > However, when trying to build it for mingw, this failed horribly. When 
> > trying to find the OpenGL/X11 libraries through ./configure, they arent 
> > found. Further, when i run 'make', i get a few errors about problems from 
> > within <stdio.h>.
> > For those interested, i'm running with ./configure 
> > --build="i586-mingw32msvc" --host="i586-mingw32msvc"  
> > --target="i586-mingw32msvc" --prefix="/usr/i586-mingw32msvc" --enable-xft.
> > Whilst running the configure script, it doesnt manage to find any of the GL 
> > or X11 libraries, even though i've build them myself for the mingw system 
> > (heh. note that i could have gotten something wrong there :P)
> >
> > Can anyone provide any assistance here?
>
>       Where are the X11 include files and libs installed on your machine?
>
>       Looking at the "configure" script, it seems to look in a bunch of
>       standard places, based on the following code, which you
>       could probably modify to include the dirs you're using:
>

That certainly helped - it's now picking up some of the X11 libraries and some 
of the OpenGL libraries, however i have a copy of both of these also sitting in 
/usr/include anyway, so the reason it wasnt finding these initially is beyond 
me.

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?

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.

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

Reply via email to