Ian MacArthur schrieb: > > On 10 Nov 2012, at 16:37, Edzard Egberts wrote: > >> Ian MacArthur schrieb: >>> >>> On 10 Nov 2012, at 10:46, Edzard Egberts wrote: >>>> So, how to solve the png.h problem, or how to build without >>>> using system files? >>> >>> Anyway, I tried two trees, one with the system png and one with >>> the local fltk png; both built just fine and appear to be >>> working correctly. >>> >>> I configured with: >>> >>> $ ./configure --enable-threads --enable-xft >>> >>> and with: >>> >>> $ ./configure --enable-threads --enable-xft --enable-localpng >>> --enable-localzlib >>> >>> In each case. >> >> One moment, I don't think
Yes, I think so. ;o) I'm sorry, I totally missunderstood meaning of options. You are right, the second line configures without using system libpng. Now the main libraries are built, but there is a problem regarding fluid: Linking fluid... /usr/bin/ld: ../lib/libfltk.a(fl_font.o): undefined reference to symbol 'FcPatternAddDouble' /usr/bin/ld: note: 'FcPatternAddDouble' is defined in DSO /lib/libfontconfig.so.1 so try adding it to the linker command line /lib/libfontconfig.so.1: could not read symbols: Invalid operation This is not a problem to me (an old version of fluid works), but maybe this problem will also appear to other users. >> I think, that's it: I installed libpng-2:1.5.10-1 and now I see, >> there is a "Old version of libpng, needed to run old binaries", >> libpng10-1.0.59. I simply need to switch the library and it will >> work (I think). > > Hmm, I would worry that 1.0.x would be too old, though. We are > currently using 1.2.x, and IIRC the png API changed a bit between 1.0 > and 1.2, though I may well be talking nonsense of course! To me it looks like a new major version - libpng-2, not libpng(-1). _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

