G'day All,

With all the help about the wrong uuid library being linked, I managed to get 
Fltk compiled under Cygwin (as well as my own Fltk apps). This is what I had to 
do:

Note that /usr/local/mingw below is where I keep my local versions of libpng 
and libjpeg.

For FLTK 1.1.x
=================
export CC=gcc-3
export CXX=g++-3
export CPPFLAGS="-I/usr/include/w32api -I/usr/local/mingw/include"
export LDFLAGS="-L/usr/lib/w32api -L/usr/local/mingw/lib"
./configure --includedir=/usr/local/mingw/include --libdir=/usr/local/mingw/lib
make

  This would then crash at the first use of fluid.exe when building the test 
apps as it could not find the zlib1.dll file (I can't find it either). So I 
edited the fluid Makefile to link with the "-static" switch.

make (again to complete building of the test apps).


For FLTK 2.x the CPPFLAGS does not work as above.
===================================================
export CC=gcc-3
export CXX=g++-3
export CFLAGS="-I/usr/include/w32api -I/usr/local/mingw/include"
export CXXFLAGS="-I/usr/include/w32api -I/usr/local/mingw/include"
export LDFLAGS="-L/usr/lib/w32api -L/usr/local/mingw/lib"
./configure --includedir=/usr/local/mingw/include --libdir=/usr/local/mingw/lib
make (crash at fluid first use. Fix Makefile)
make (again to complete test apps).


I hope this helps.

Have Fun !!

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

Reply via email to