Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpngwriter Note (probably harmless): No library found for -lpng Writing Makefile for Image::PNGwriter cp lib/Image/PNGwriter.pm blib/lib/Image/PNGwriter.pm AutoSplitting blib/lib/Image/PNGwriter.pm (blib/lib/auto/Image/PNGwriter) /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -C++ -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap -typemap perlobject.map -typemap typemap PNGwriter.xs > PNGwriter.xsc && mv PNGwriter.xsc PNGwriter.c g++ -c -I. -Wall -Wno-deprecated -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" PNGwriter.c PNGwriter.xs:15:23: error: pngwriter.h: No such file or directory PNGwriter.c: In function 'void XS_Image__PNGwriter_new(PerlInterpreter*, CV*)': PNGwriter.c:44: error: 'pngwriter' was not declared in this scope PNGwriter.c:44: error: 'RETVAL' was not declared in this scope PNGwriter.c:50: error: expected type-specifier before 'pngwriter' PNGwriter.c:50: error: expected `;' before 'pngwriter' PNGwriter.c:45: warning: unused variable 'width' PNGwriter.c:46: warning: unused variable 'height' PNGwriter.c:47: warning: unused variable 'backgroundcolour' PNGwriter.c:48: warning: unused variable 'filename' PNGwriter.c: In function 'void XS_Image__PNGwriter_plot(PerlInterpreter*, CV*)': PNGwriter.c:71: error: 'pngwriter' was not declared in this scope PNGwriter.c:71: error: 'THIS' was not declared in this scope PNGwriter.c:79: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plotHSV(PerlInterpreter*, CV*)': PNGwriter.c:103: error: 'pngwriter' was not declared in this scope PNGwriter.c:103: error: 'THIS' was not declared in this scope PNGwriter.c:111: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plotCMYK(PerlInterpreter*, CV*)': PNGwriter.c:135: error: 'pngwriter' was not declared in this scope PNGwriter.c:135: error: 'THIS' was not declared in this scope PNGwriter.c:144: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_dread(PerlInterpreter*, CV*)': PNGwriter.c:168: error: 'pngwriter' was not declared in this scope PNGwriter.c:168: error: 'THIS' was not declared in this scope PNGwriter.c:176: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_dreadHSV(PerlInterpreter*, CV*)': PNGwriter.c:201: error: 'pngwriter' was not declared in this scope PNGwriter.c:201: error: 'THIS' was not declared in this scope PNGwriter.c:209: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_dreadCMYK(PerlInterpreter*, CV*)': PNGwriter.c:234: error: 'pngwriter' was not declared in this scope PNGwriter.c:234: error: 'THIS' was not declared in this scope PNGwriter.c:242: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_clear(PerlInterpreter*, CV*)': PNGwriter.c:267: error: 'pngwriter' was not declared in this scope PNGwriter.c:267: error: 'THIS' was not declared in this scope PNGwriter.c:270: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_close(PerlInterpreter*, CV*)': PNGwriter.c:294: error: 'pngwriter' was not declared in this scope PNGwriter.c:294: error: 'THIS' was not declared in this scope PNGwriter.c:297: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_pngwriter_rename(PerlInterpreter*, CV*)': PNGwriter.c:321: error: 'pngwriter' was not declared in this scope PNGwriter.c:321: error: 'THIS' was not declared in this scope PNGwriter.c:325: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_line(PerlInterpreter*, CV*)': PNGwriter.c:349: error: 'pngwriter' was not declared in this scope PNGwriter.c:349: error: 'THIS' was not declared in this scope PNGwriter.c:359: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_triangle(PerlInterpreter*, CV*)': PNGwriter.c:383: error: 'pngwriter' was not declared in this scope PNGwriter.c:383: error: 'THIS' was not declared in this scope PNGwriter.c:395: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_square(PerlInterpreter*, CV*)': PNGwriter.c:419: error: 'pngwriter' was not declared in this scope PNGwriter.c:419: error: 'THIS' was not declared in this scope PNGwriter.c:429: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledsquare(PerlInterpreter*, CV*)': PNGwriter.c:453: error: 'pngwriter' was not declared in this scope PNGwriter.c:453: error: 'THIS' was not declared in this scope PNGwriter.c:463: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_circle(PerlInterpreter*, CV*)': PNGwriter.c:487: error: 'pngwriter' was not declared in this scope PNGwriter.c:487: error: 'THIS' was not declared in this scope PNGwriter.c:496: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledcircle(PerlInterpreter*, CV*)': PNGwriter.c:520: error: 'pngwriter' was not declared in this scope PNGwriter.c:520: error: 'THIS' was not declared in this scope PNGwriter.c:529: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_readfromfile(PerlInterpreter*, CV*)': PNGwriter.c:553: error: 'pngwriter' was not declared in this scope PNGwriter.c:553: error: 'THIS' was not declared in this scope PNGwriter.c:557: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getheight(PerlInterpreter*, CV*)': PNGwriter.c:581: error: 'pngwriter' was not declared in this scope PNGwriter.c:581: error: 'THIS' was not declared in this scope PNGwriter.c:586: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getwidth(PerlInterpreter*, CV*)': PNGwriter.c:611: error: 'pngwriter' was not declared in this scope PNGwriter.c:611: error: 'THIS' was not declared in this scope PNGwriter.c:616: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_setcompressionlevel(PerlInterpreter*, CV*)': PNGwriter.c:641: error: 'pngwriter' was not declared in this scope PNGwriter.c:641: error: 'THIS' was not declared in this scope PNGwriter.c:645: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getbitdepth(PerlInterpreter*, CV*)': PNGwriter.c:669: error: 'pngwriter' was not declared in this scope PNGwriter.c:669: error: 'THIS' was not declared in this scope PNGwriter.c:674: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getcolortype(PerlInterpreter*, CV*)': PNGwriter.c:699: error: 'pngwriter' was not declared in this scope PNGwriter.c:699: error: 'THIS' was not declared in this scope PNGwriter.c:704: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_setgamma(PerlInterpreter*, CV*)': PNGwriter.c:729: error: 'pngwriter' was not declared in this scope PNGwriter.c:729: error: 'THIS' was not declared in this scope PNGwriter.c:733: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getgamma(PerlInterpreter*, CV*)': PNGwriter.c:757: error: 'pngwriter' was not declared in this scope PNGwriter.c:757: error: 'THIS' was not declared in this scope PNGwriter.c:762: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_bezier(PerlInterpreter*, CV*)': PNGwriter.c:787: error: 'pngwriter' was not declared in this scope PNGwriter.c:787: error: 'THIS' was not declared in this scope PNGwriter.c:801: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_settext(PerlInterpreter*, CV*)': PNGwriter.c:825: error: 'pngwriter' was not declared in this scope PNGwriter.c:825: error: 'THIS' was not declared in this scope PNGwriter.c:832: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_version(PerlInterpreter*, CV*)': PNGwriter.c:860: error: 'pngwriter' has not been declared PNGwriter.c:860: error: 'version' was not declared in this scope PNGwriter.c:856: warning: unused variable 'CLASS' PNGwriter.c: In function 'void XS_Image__PNGwriter_write_png(PerlInterpreter*, CV*)': PNGwriter.c:879: error: 'pngwriter' was not declared in this scope PNGwriter.c:879: error: 'THIS' was not declared in this scope PNGwriter.c:882: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_text(PerlInterpreter*, CV*)': PNGwriter.c:906: error: 'pngwriter' was not declared in this scope PNGwriter.c:906: error: 'THIS' was not declared in this scope PNGwriter.c:918: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_text_utf8(PerlInterpreter*, CV*)': PNGwriter.c:942: error: 'pngwriter' was not declared in this scope PNGwriter.c:942: error: 'THIS' was not declared in this scope PNGwriter.c:954: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_bilinear_interpolation_dread(PerlInterpreter*, CV*)': PNGwriter.c:978: error: 'pngwriter' was not declared in this scope PNGwriter.c:978: error: 'THIS' was not declared in this scope PNGwriter.c:986: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_blend(PerlInterpreter*, CV*)': PNGwriter.c:1011: error: 'pngwriter' was not declared in this scope PNGwriter.c:1011: error: 'THIS' was not declared in this scope PNGwriter.c:1020: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_invert(PerlInterpreter*, CV*)': PNGwriter.c:1044: error: 'pngwriter' was not declared in this scope PNGwriter.c:1044: error: 'THIS' was not declared in this scope PNGwriter.c:1047: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_resize(PerlInterpreter*, CV*)': PNGwriter.c:1071: error: 'pngwriter' was not declared in this scope PNGwriter.c:1071: error: 'THIS' was not declared in this scope PNGwriter.c:1076: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_boundary_fill(PerlInterpreter*, CV*)': PNGwriter.c:1100: error: 'pngwriter' was not declared in this scope PNGwriter.c:1100: error: 'THIS' was not declared in this scope PNGwriter.c:1111: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_flood_fill(PerlInterpreter*, CV*)': PNGwriter.c:1135: error: 'pngwriter' was not declared in this scope PNGwriter.c:1135: error: 'THIS' was not declared in this scope PNGwriter.c:1143: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_scale_k(PerlInterpreter*, CV*)': PNGwriter.c:1167: error: 'pngwriter' was not declared in this scope PNGwriter.c:1167: error: 'THIS' was not declared in this scope PNGwriter.c:1171: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_scale_kxky(PerlInterpreter*, CV*)': PNGwriter.c:1195: error: 'pngwriter' was not declared in this scope PNGwriter.c:1195: error: 'THIS' was not declared in this scope PNGwriter.c:1200: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_scale_wh(PerlInterpreter*, CV*)': PNGwriter.c:1224: error: 'pngwriter' was not declared in this scope PNGwriter.c:1224: error: 'THIS' was not declared in this scope PNGwriter.c:1229: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plotHSV_blend(PerlInterpreter*, CV*)': PNGwriter.c:1253: error: 'pngwriter' was not declared in this scope PNGwriter.c:1253: error: 'THIS' was not declared in this scope PNGwriter.c:1262: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_line_blend(PerlInterpreter*, CV*)': PNGwriter.c:1286: error: 'pngwriter' was not declared in this scope PNGwriter.c:1286: error: 'THIS' was not declared in this scope PNGwriter.c:1297: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_square_blend(PerlInterpreter*, CV*)': PNGwriter.c:1321: error: 'pngwriter' was not declared in this scope PNGwriter.c:1321: error: 'THIS' was not declared in this scope PNGwriter.c:1332: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledsquare_blend(PerlInterpreter*, CV*)': PNGwriter.c:1356: error: 'pngwriter' was not declared in this scope PNGwriter.c:1356: error: 'THIS' was not declared in this scope PNGwriter.c:1367: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_circle_blend(PerlInterpreter*, CV*)': PNGwriter.c:1391: error: 'pngwriter' was not declared in this scope PNGwriter.c:1391: error: 'THIS' was not declared in this scope PNGwriter.c:1401: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledcircle_blend(PerlInterpreter*, CV*)': PNGwriter.c:1425: error: 'pngwriter' was not declared in this scope PNGwriter.c:1425: error: 'THIS' was not declared in this scope PNGwriter.c:1435: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_bezier_blend(PerlInterpreter*, CV*)': PNGwriter.c:1459: error: 'pngwriter' was not declared in this scope PNGwriter.c:1459: error: 'THIS' was not declared in this scope PNGwriter.c:1474: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_text_blend(PerlInterpreter*, CV*)': PNGwriter.c:1498: error: 'pngwriter' was not declared in this scope PNGwriter.c:1498: error: 'THIS' was not declared in this scope PNGwriter.c:1511: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_text_utf8_blend(PerlInterpreter*, CV*)': PNGwriter.c:1535: error: 'pngwriter' was not declared in this scope PNGwriter.c:1535: error: 'THIS' was not declared in this scope PNGwriter.c:1548: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_boundary_fill_blend(PerlInterpreter*, CV*)': PNGwriter.c:1572: error: 'pngwriter' was not declared in this scope PNGwriter.c:1572: error: 'THIS' was not declared in this scope PNGwriter.c:1584: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_flood_fill_blend(PerlInterpreter*, CV*)': PNGwriter.c:1608: error: 'pngwriter' was not declared in this scope PNGwriter.c:1608: error: 'THIS' was not declared in this scope PNGwriter.c:1617: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plotCMYK_blend(PerlInterpreter*, CV*)': PNGwriter.c:1641: error: 'pngwriter' was not declared in this scope PNGwriter.c:1641: error: 'THIS' was not declared in this scope PNGwriter.c:1651: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_laplacian(PerlInterpreter*, CV*)': PNGwriter.c:1675: error: 'pngwriter' was not declared in this scope PNGwriter.c:1675: error: 'THIS' was not declared in this scope PNGwriter.c:1680: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledtriangle(PerlInterpreter*, CV*)': PNGwriter.c:1704: error: 'pngwriter' was not declared in this scope PNGwriter.c:1704: error: 'THIS' was not declared in this scope PNGwriter.c:1716: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledtriangle_blend(PerlInterpreter*, CV*)': PNGwriter.c:1740: error: 'pngwriter' was not declared in this scope PNGwriter.c:1740: error: 'THIS' was not declared in this scope PNGwriter.c:1753: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_arrow(PerlInterpreter*, CV*)': PNGwriter.c:1777: error: 'pngwriter' was not declared in this scope PNGwriter.c:1777: error: 'THIS' was not declared in this scope PNGwriter.c:1789: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledarrow(PerlInterpreter*, CV*)': PNGwriter.c:1813: error: 'pngwriter' was not declared in this scope PNGwriter.c:1813: error: 'THIS' was not declared in this scope PNGwriter.c:1825: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_cross(PerlInterpreter*, CV*)': PNGwriter.c:1849: error: 'pngwriter' was not declared in this scope PNGwriter.c:1849: error: 'THIS' was not declared in this scope PNGwriter.c:1859: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_maltesecross(PerlInterpreter*, CV*)': PNGwriter.c:1883: error: 'pngwriter' was not declared in this scope PNGwriter.c:1883: error: 'THIS' was not declared in this scope PNGwriter.c:1895: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filleddiamond(PerlInterpreter*, CV*)': PNGwriter.c:1919: error: 'pngwriter' was not declared in this scope PNGwriter.c:1919: error: 'THIS' was not declared in this scope PNGwriter.c:1929: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_diamond(PerlInterpreter*, CV*)': PNGwriter.c:1953: error: 'pngwriter' was not declared in this scope PNGwriter.c:1953: error: 'THIS' was not declared in this scope PNGwriter.c:1963: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_get_text_width(PerlInterpreter*, CV*)': PNGwriter.c:1987: error: 'pngwriter' was not declared in this scope PNGwriter.c:1987: error: 'THIS' was not declared in this scope PNGwriter.c:1995: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_get_text_width_utf8(PerlInterpreter*, CV*)': PNGwriter.c:2020: error: 'pngwriter' was not declared in this scope PNGwriter.c:2020: error: 'THIS' was not declared in this scope PNGwriter.c:2028: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_DESTROY(PerlInterpreter*, CV*)': PNGwriter.c:2053: error: 'pngwriter' was not declared in this scope PNGwriter.c:2053: error: 'THIS' was not declared in this scope PNGwriter.c:2056: error: expected primary-expression before ')' token PNGwriter.c:2062: error: type '' argument given to 'delete', expected pointer make: *** [PNGwriter.o] Error 1