> This is fixed on svn and also included in r5777.

Hmmm... Well, here's what I get from svn right now...

Compiling fl_jpeg.cxx...
Compiling fl_png.cxx...
fl_png.cxx:33:24: libpng/png.h: No such file or directory
fl_png.cxx:37: error: `png_bytep' does not name a type
fl_png.cxx:39: error: variable or field `read_data_fn' declared void
fl_png.cxx:39: error: `png_structp' was not declared in this scope
...etc...

OK. There seem to be two issues: FC6 doesn't seem to have png.h in a
libpng sub dir in the "system" files, it has /usr/include/png.h however.

The fl_png.cxx has the include line:

#include <libpng/png.h>


This doesn't find the system file in /usr/include, nor does it find the
"fltk local" file that is under the fltk/images dir - for that I guess
we would want 

#include "libpng/png.h"

Instead to make it a local search path rather than a system search
path... Presumably this will break the build for people using the "local
image libs" too, anyway?

However, configure seems to have put the correct thing in config.h (it
correctly spots that I have png.h but not libpng/png.h for example) but
the src then does not take advantage of these macros to include the
appropriate paths.

Cheers,
-- 
Ian




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 mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to