Regardless of what switches I'm supposed to have on when I'm compiling (I 
suppose a very thorough review of the documentation is in order), your command 
worked! Thank you very much. It compiled successfully and successfully ran and 
I got a FLTK box working. Thanks again sir.

> >
> > > $ fltk-config --compile fltktest.cpp
> > > g++ -I/scratch/duncan/include -I/scratch/duncan/include \
> > >     -I/usr/X11R6/include -I/usr/X11R6/include \
> > >     -D_THREAD_SAFE -D_REENTRANT \
> > >     -o fltktest fltktest.cpp \
> > >     -L/usr/X11R6/lib -L/scratch/duncan/lib -L/usr/X11R6/lib \
> > >     /scratch/duncan/lib/libfltk.a -lpthread -ldl -lm -lXext -lX11
> >
> > Hmm. Just installed fltk-1.1.8rc1.1 and get the same duplicate
> > -I and -L entries as above. I suspect this is something to do
> > with my overkill settings for CFLAGS, CXXFLAGS, etc. so that I
> > can install in a non-standard place:
> >
> >     #/bin/sh
> >     CFLAGS="-I/scratch/duncan/include -I/usr/X11R6/include" \
> >     CPPFLAGS="-I/scratch/duncan/include -I/usr/X11R6/include" \
> >     CXXFLAGS="-I/scratch/duncan/include -I/usr/X11R6/include" \
> >     LDFLAGS="-L/scratch/duncan/lib -L/usr/X11R6/lib" \
> >     LD_LIBRARY_PATH=/scratch/duncan/lib:$LD_LIBRARY_PATH \
> >     ./configure --prefix=/scratch/duncan $*
> >
> > Maybe someone with fltk in /usr can check?
>
> OK, on my Lunar Linux box at home (http://www.lunar-linux.org/) I get:
>
> [EMAIL PROTECTED] /tmp $ fltk-config --compile fltktest.cpp
> g++ -I/usr/include/freetype2 -O2 -march=pentium4 \
>     -D_THREAD_SAFE -D_REENTRANT -o fltktest fltktest.cpp \
>     -s /usr/lib/libfltk.a -lXft -lpthread -ldl -lm -lXext -lX11
>
> so it's definitely the overkill settings that are confusing things.

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

Reply via email to