Re: [fltk.general] fltk3 compile error
Thanks, I'll try your suggestions. Marty > > > dXRlIGl0cyBjb250ZW50cyB0byBhbnkgb3RoZXIgcGVyc29uLgoqKioqKioqKioqKioqKioqKioq > > > KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgo= > > > > > > > Thanks for the reply but would you mind translating it? It's unreadable. > > Marty > > Sigh... Sorry about that, I thought that was fixed... Technically, it's not > unreadable, it's just Base-64 encoded... > > Anyway; here's what it was meant to say (I hope!); > > marty moore said: > > > Hi all, > > I get the following error when trying to compile fltk3: > > > > $make > > === making src === > > Compiling fltk3png/png.c... > > fltk3png/png.c:14:21: error: pngpriv.h: No such file or directory > > fltk3png/png.c:17: error: expected â=â, â,â, â;â, âasmâ or > > â__attribute__â before âYour_png_h_is_not_version_1_5_10â > > fltk3png/png.c:559: error: expected â=â, â,â, â;â, âasmâ or > > â__attribute__â before âPNGAPIâ > > fltk3png/png.c:649: error: expected â=â, â,â, â;â, âasmâ or > > â__attribute__â before âPNGAPIâ > > fltk3png/png.c:680: error: expected â=â, â,â, â;â, âasmâ or > > â__attribute__â before âPNGAPIâ > > fltk3png/png.c:687: error: expected â=â, â,â, â;â, âasmâ or > > â__attribute__â before âPNGAPIâ > > fltk3png/png.c:695: error: expected â=â, â,â, â;â, âasmâ or > > â__attribute__â before âPNGAPIâ > > fltk3png/png.c:762: error: expected â=â, â,â, â;â, âasmâ or > > â__attribute__â before âPNGAPIâ > > make[1]: *** [fltk3png/png.o] Error 1 > > make: *** [all] Error 1 > > marty@fltk-3.0.x-r9831$ > > > > I'm running debian 6.5, emacs 23, and gcc 4.4.5-1. > > > > libpng3 and libpng12-0 are installed. > > > > Anyone have any ideas?? > > > Yes: note that fltk3 is still alpha, and is intended for experiments only at > this stage, so has a few rough edges. > > What you are hitting is STR #2833 http://www.fltk.org/str.php?L2833 > > In summary, there is a bug in fltk3's configure mechanism such that it > attempts to build fltk's built-in PNG lib version, even if there is a system > wide one available. (The earlier fltk variants only compile the built-in PNG > lib if there is no system-wide one found...) > > However, when building the built-in PNG, the system PNG headers get found > first, and they are *not* compatible (too old), and Bad Things ensue. > > If you can be bothered, tweaking the paths in makeinclude so that the > "correct" set of PNG headers are found when building the local built-in PNG > lib will "fix" this. > > Or, you could try configuring with --enable-local-png as I think that might > help... > > Or, you could update your system PNG to something recent, and that should > help to! > > > ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] fltk3 compile error
> > dXRlIGl0cyBjb250ZW50cyB0byBhbnkgb3RoZXIgcGVyc29uLgoqKioqKioqKioqKioqKioqKioq > > KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgo= > > > > Thanks for the reply but would you mind translating it? It's unreadable. > Marty Sigh... Sorry about that, I thought that was fixed... Technically, it's not unreadable, it's just Base-64 encoded... Anyway; here's what it was meant to say (I hope!); marty moore said: > Hi all, > I get the following error when trying to compile fltk3: > > $make > === making src === > Compiling fltk3png/png.c... > fltk3png/png.c:14:21: error: pngpriv.h: No such file or directory > fltk3png/png.c:17: error: expected â=â, â,â, â;â, âasmâ or > â__attribute__â before âYour_png_h_is_not_version_1_5_10â > fltk3png/png.c:559: error: expected â=â, â,â, â;â, âasmâ or > â__attribute__â before âPNGAPIâ > fltk3png/png.c:649: error: expected â=â, â,â, â;â, âasmâ or > â__attribute__â before âPNGAPIâ > fltk3png/png.c:680: error: expected â=â, â,â, â;â, âasmâ or > â__attribute__â before âPNGAPIâ > fltk3png/png.c:687: error: expected â=â, â,â, â;â, âasmâ or > â__attribute__â before âPNGAPIâ > fltk3png/png.c:695: error: expected â=â, â,â, â;â, âasmâ or > â__attribute__â before âPNGAPIâ > fltk3png/png.c:762: error: expected â=â, â,â, â;â, âasmâ or > â__attribute__â before âPNGAPIâ > make[1]: *** [fltk3png/png.o] Error 1 > make: *** [all] Error 1 > marty@fltk-3.0.x-r9831$ > > I'm running debian 6.5, emacs 23, and gcc 4.4.5-1. > > libpng3 and libpng12-0 are installed. > > Anyone have any ideas?? Yes: note that fltk3 is still alpha, and is intended for experiments only at this stage, so has a few rough edges. What you are hitting is STR #2833 http://www.fltk.org/str.php?L2833 In summary, there is a bug in fltk3's configure mechanism such that it attempts to build fltk's built-in PNG lib version, even if there is a system wide one available. (The earlier fltk variants only compile the built-in PNG lib if there is no system-wide one found...) However, when building the built-in PNG, the system PNG headers get found first, and they are *not* compatible (too old), and Bad Things ensue. If you can be bothered, tweaking the paths in makeinclude so that the "correct" set of PNG headers are found when building the local built-in PNG lib will "fix" this. Or, you could try configuring with --enable-local-png as I think that might help... Or, you could update your system PNG to something recent, and that should help to! ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] fltk3 compile error
> bWFydHkgbW9vcmUgc2FpZDoNCiANCj4gSGkgYWxsLA0KPiBJIGdldCB0aGUgZm9sbG93aW5nIGVy > cm9yIHdoZW4gdHJ5aW5nIHRvIGNvbXBpbGUgZmx0azM6DQo+IA0KPiAkbWFrZQ0KPiA9PT0gbWFr > aW5nIHNyYyA9PT0NCj4gQ29tcGlsaW5nIGZsdGszcG5nL3BuZy5jLi4uDQo+IGZsdGszcG5nL3Bu > Zy5jOjE0OjIxOiBlcnJvcjogcG5ncHJpdi5oOiBObyBzdWNoIGZpbGUgb3IgZGlyZWN0b3J5DQo+ > IGZsdGszcG5nL3BuZy5jOjE3OiBlcnJvcjogZXhwZWN0ZWQg4oCYPeKAmSwg4oCYLOKAmSwg4oCY > O+KAmSwg4oCYYXNt4oCZIG9yDQo+IOKAmF9fYXR0cmlidXRlX1/igJkgYmVmb3JlIOKAmFlvdXJf > cG5nX2hfaXNfbm90X3ZlcnNpb25fMV81XzEw4oCZDQo+IGZsdGszcG5nL3BuZy5jOjU1OTogZXJy > b3I6IGV4cGVjdGVkIOKAmD3igJksIOKAmCzigJksIOKAmDvigJksIOKAmGFzbeKAmSBvcg0KPiDi > gJhfX2F0dHJpYnV0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qKioqKioqKioqKioqKioq > KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgo= > Thanks for the reply but would you mind translating it? It's unreadable. Marty ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] fltk3 compile error
marty moore said: > Hi all, > I get the following error when trying to compile fltk3: > > $make > === making src === > Compiling fltk3png/png.c... > fltk3png/png.c:14:21: error: pngpriv.h: No such file or directory > fltk3png/png.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘Your_png_h_is_not_version_1_5_10’ > fltk3png/png.c:559: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘PNGAPI’ > fltk3png/png.c:649: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘PNGAPI’ > fltk3png/png.c:680: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘PNGAPI’ > fltk3png/png.c:687: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘PNGAPI’ > fltk3png/png.c:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘PNGAPI’ > fltk3png/png.c:762: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘PNGAPI’ > make[1]: *** [fltk3png/png.o] Error 1 > make: *** [all] Error 1 > marty@fltk-3.0.x-r9831$ > > I'm running debian 6.5, emacs 23, and gcc 4.4.5-1. > > libpng3 and libpng12-0 are installed. > > Anyone have any ideas?? Yes: note that fltk3 is still alpha, and is intended for experiments only at this stage, so has a few rough edges. What you are hitting is STR #2833 http://www.fltk.org/str.php?L2833 In summary, there is a bug in fltk3's configure mechanism such that it attempts to build fltk's built-in PNG lib version, even if there is a system wide one available. (The earlier fltk variants only compile the built-in PNG lib if there is no system-wide one found...) However, when building the built-in PNG, the system PNG headers get found first, and they are *not* compatible (too old), and Bad Things ensue. If you can be bothered, tweaking the paths in makeinclude so that the "correct" set of PNG headers are found when building the local built-in PNG lib will "fix" this. Or, you could try configuring with --enable-local-png as I think that might help... Or, you could update your system PNG to something recent, and that should help to! Selex ES Ltd 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 fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk