> Ok here's a temporary fix in r6509 that solves the last 
> problem while keeping the new Ian flag settings.
> The png header test is not activated yet because it did not 
> work under cygwin (?) but this version should work better 
> than before as  we should have now the rgb32 square pb solved 
> as new flag settings are taken in account.
> Modifications are commented, please review.

Close, but...

On mingw, trying to use the system png lib, I configure with:

./configure --enable-threads --enable-cairo
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib

And configure reports:

Configuration Summary
------------------------------------------------------------------------
-
    Directories: prefix=/usr/local
                 bindir=${exec_prefix}/bin
                 datadir=${prefix}/share
                 datarootdir=
                 exec_prefix=${prefix}
                 includedir=${prefix}/include
                 libdir=${exec_prefix}/lib
                 mandir=${prefix}/man
       Graphics: GDI
Image Libraries: JPEG=System
                 PNG=System
                 ZLIB=System
                 CAIRO=lib
    Large Files: YES
         OpenGL: YES
        Threads: YES

Which all looks good.
BUT, config.h is not correct, it has:


/* #undef HAVE_PNG_H */
/* #undef HAVE_LIBPNG_PNG_H */

i.e. neither path to png.h is declared valid. As a result, the build
chokes.

Note that Albrecht's previous workaround (i.e. explicitly setting
--disable-localpng) does not help in this case, the result is
identical...

(I'm beginning to wonder if we should just drop these flags and modify
Fl_PNG_Image.cxx to ignore them!)








SELEX Sensors and Airborne Systems Limited
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-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to