f1tattoo.cpp: In function 'bool tattoo_read_png(unsigned char*, uint32_t, FILE*)':
f1tattoo.cpp:132:44: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:132:61: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:134:14: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:134:42: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:146:38: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:147:18: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:153:18: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:171:37: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:172:14: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:176:14: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:177:45: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:181:38: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:185:47: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:192:15: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:195:19: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:197:29: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:203:29: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:205:18: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:206:18: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:207:18: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:213:29: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:222:29: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
f1tattoo.cpp:231:29: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
In file included from f1tattoo.cpp:20:0:
/usr/include/libpng15/png.h:730:16: error: forward declaration of 'png_info {aka struct png_info_def}'
make[2]: *** [f1tattoo.o] Error 1
There is a patch: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-cdr/qpxtool/files/qpxtool-0.7.0-libpng15.patch