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:
----------------------------------------------------------
# Standard set of common directories for X headers.
# Check X11 before X11Rn because it is often a symlink to the current release.
ac_x_header_dirs='
/usr/X11/include
/usr/X11R6/include
/usr/X11R5/include
/usr/X11R4/include
/usr/include/X11
/usr/include/X11R6
/usr/include/X11R5
/usr/include/X11R4
/usr/local/X11/include
/usr/local/X11R6/include
/usr/local/X11R5/include
/usr/local/X11R4/include
/usr/local/include/X11
/usr/local/include/X11R6
/usr/local/include/X11R5
/usr/local/include/X11R4
/usr/X386/include
/usr/x386/include
/usr/XFree86/include/X11
/usr/include
/usr/local/include
/usr/unsupported/include
/usr/athena/include
/usr/local/x11r5/include
/usr/lpp/Xamples/include
/usr/openwin/include
/usr/openwin/share/include'
----------------------------------------------------------
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk