Nothing tastes like the original

John Tsiombikas nuclear at member.fsf.org
Sun Mar 25 21:19:16 EEST 2012


On Sun, Mar 25, 2012 at 05:31:34PM +0300, Thanasis wrote:

> gcc -g -DMOTIF1_2 -DLINUX -DPRERELEASE  -I/usr/include/X11/Xm -DHAVE_JPEG   -DHAVE_PNG   -I.. -I../libXmx -I../libwww2   -c -o readPNG.o readPNG.c
> readPNG.c: In function ¡ReadPNG¢:
> readPNG.c:129:43: óöÜëìá: invalid application of ¡sizeof¢ to incomplete type ¡png_struct¢ 
> readPNG.c:133:42: óöÜëìá: invalid application of ¡sizeof¢ to incomplete type ¡png_info¢ 
> readPNG.c:140:9: óöÜëìá: dereferencing pointer to incomplete type

Pithanotata ayta ta structures kapote itan defined sto header file tis
libpng, kai pleon exoun ginei opaque types.

1) hackeveis ton kodika oste na to kaneis na doulevei me to kainourio
API tis libpng
2) katebazeis palia ekdosi tis libpng
3) bgazeis to -DHAVE_PNG apo to command line

-- 
John Tsiombikas
http://nuclear.mutantstargoat.com/


More information about the Linux-greek-users mailing list