McMap is a command line software that generates maps of chosen worlds.
I am trying to make a script that downloads my world from my server, and generates a map of the world, and pushes it on my desktop via third party software.
McMap:
http://www.minecraftforum.net/viewtopic.php?f=1022&t=40327The author provides pre-compiled versions for Windows, but none for Mac. He said that it can compile on Mac, and replies have shown successful tries of compiling on Mac. I tried "cd"ing to the directory and doing "make," but it spit out 1 million errors:
draw_png.cpp:12:17: error: png.h: No such file or directory
draw_png.cpp:34: error: ‘png_structp’ does not name a type
draw_png.cpp:35: error: ‘png_infop’ does not name a type
draw_png.cpp: In constructor ‘<unnamed>::ImagePart::ImagePart(const char*, int, int, int, int)’:
draw_png.cpp:42: error: ‘pngPtr’ was not declared in this scope
draw_png.cpp:44: error: ‘pngInfo’ was not declared in this scope
draw_png.cpp: At global scope:
draw_png.cpp:52: error: ‘png_structp’ does not name a type
draw_png.cpp:53: error: ‘png_infop’ does not name a type
draw_png.cpp:63: error: ‘png_structp’ does not name a type
draw_png.cpp:64: error: ‘png_infop’ does not name a type
draw_png.cpp:65: error: ‘png_structp’ does not name a type
draw_png.cpp: In function ‘bool createImage(FILE*, size_t, size_t, bool)’:
draw_png.cpp:118: error: ‘pngPtrMain’ was not declared in this scope
draw_png.cpp:118: error: ‘PNG_LIBPNG_VER_STRING’ was not declared in this scope
draw_png.cpp:118: error: ‘png_create_write_struct’ was not declared in this scope
draw_png.cpp:124: error: ‘pngInfoPtrMain’ was not declared in this scope
draw_png.cpp:124: error: ‘png_create_info_struct’ was not declared in this scope
draw_png.cpp:127: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:131: error: ‘png_jmpbuf’ was not declared in this scope
draw_png.cpp:131: error: ‘setjmp’ was not declared in this scope
draw_png.cpp:132: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:136: error: ‘png_init_io’ was not declared in this scope
draw_png.cpp:139: error: ‘PNG_COLOR_TYPE_RGBA’ was not declared in this scope
draw_png.cpp:139: error: ‘PNG_INTERLACE_NONE’ was not declared in this scope
draw_png.cpp:140: error: ‘PNG_COMPRESSION_TYPE_BASE’ was not declared in this scope
draw_png.cpp:140: error: ‘PNG_FILTER_TYPE_BASE’ was not declared in this scope
draw_png.cpp:140: error: ‘png_set_IHDR’ was not declared in this scope
draw_png.cpp:142: error: ‘png_text’ was not declared in this scope
draw_png.cpp:142: error: expected `;' before ‘title_text’
draw_png.cpp:143: error: ‘title_text’ was not declared in this scope
draw_png.cpp:143: error: ‘PNG_TEXT_COMPRESSION_NONE’ was not declared in this scope
draw_png.cpp:144: error: ‘png_charp’ was not declared in this scope
draw_png.cpp:144: error: expected `;' before string constant
draw_png.cpp:145: error: expected `;' before string constant
draw_png.cpp:146: error: ‘png_set_text’ was not declared in this scope
draw_png.cpp:148: error: ‘png_write_info’ was not declared in this scope
draw_png.cpp:150: error: ‘pngPtrCurrent’ was not declared in this scope
draw_png.cpp: In function ‘bool saveImage()’:
draw_png.cpp:159: error: ‘pngPtrMain’ was not declared in this scope
draw_png.cpp:159: error: ‘png_jmpbuf’ was not declared in this scope
draw_png.cpp:159: error: ‘setjmp’ was not declared in this scope
draw_png.cpp:160: error: ‘pngInfoPtrMain’ was not declared in this scope
draw_png.cpp:160: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:170: error: ‘pngPtrMain’ was not declared in this scope
draw_png.cpp:170: error: ‘png_bytep’ was not declared in this scope
draw_png.cpp:170: error: ‘png_write_row’ was not declared in this scope
draw_png.cpp:174: error: ‘pngPtrMain’ was not declared in this scope
draw_png.cpp:174: error: ‘png_write_end’ was not declared in this scope
draw_png.cpp:175: error: ‘pngInfoPtrMain’ was not declared in this scope
draw_png.cpp:175: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:223: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:223: error: ‘png_write_end’ was not declared in this scope
draw_png.cpp:224: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:224: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:224: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:240: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:240: error: ‘PNG_LIBPNG_VER_STRING’ was not declared in this scope
draw_png.cpp:240: error: ‘png_create_write_struct’ was not declared in this scope
draw_png.cpp:241: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:245: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:245: error: ‘png_jmpbuf’ was not declared in this scope
draw_png.cpp:245: error: ‘setjmp’ was not declared in this scope
draw_png.cpp:248: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:248: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:248: error: ‘png_create_info_struct’ was not declared in this scope
draw_png.cpp:249: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:251: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:251: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:254: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:254: error: ‘png_init_io’ was not declared in this scope
draw_png.cpp:255: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:255: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:257: error: ‘PNG_COLOR_TYPE_RGBA’ was not declared in this scope
draw_png.cpp:257: error: ‘PNG_INTERLACE_NONE’ was not declared in this scope
draw_png.cpp:258: error: ‘PNG_COMPRESSION_TYPE_BASE’ was not declared in this scope
draw_png.cpp:258: error: ‘PNG_FILTER_TYPE_BASE’ was not declared in this scope
draw_png.cpp:258: error: ‘png_set_IHDR’ was not declared in this scope
draw_png.cpp:259: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:259: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:259: error: ‘png_write_info’ was not declared in this scope
draw_png.cpp:269: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:269: error: ‘png_bytep’ was not declared in this scope
draw_png.cpp:269: error: ‘png_write_row’ was not declared in this scope
draw_png.cpp:281: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:281: error: ‘png_bytep’ was not declared in this scope
draw_png.cpp:281: error: ‘png_write_row’ was not declared in this scope
draw_png.cpp:283: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:283: error: ‘png_write_end’ was not declared in this scope
draw_png.cpp:284: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:284: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:284: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp: In function ‘int loadImagePart(int, int, int, int)’:
draw_png.cpp:299: error: ‘pngPtrCurrent’ was not declared in this scope
draw_png.cpp: In function ‘bool saveImagePart()’:
draw_png.cpp:360: error: ‘pngPtrCurrent’ was not declared in this scope
draw_png.cpp:365: error: ‘png_infop’ was not declared in this scope
draw_png.cpp:365: error: expected `;' before ‘info_ptr’
draw_png.cpp:366: error: ‘pngPtrCurrent’ was not declared in this scope
draw_png.cpp:366: error: ‘PNG_LIBPNG_VER_STRING’ was not declared in this scope
draw_png.cpp:366: error: ‘png_create_write_struct’ was not declared in this scope
draw_png.cpp:372: error: ‘info_ptr’ was not declared in this scope
draw_png.cpp:372: error: ‘png_create_info_struct’ was not declared in this scope
draw_png.cpp:375: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:379: error: ‘png_jmpbuf’ was not declared in this scope
draw_png.cpp:379: error: ‘setjmp’ was not declared in this scope
draw_png.cpp:380: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:384: error: ‘png_init_io’ was not declared in this scope
draw_png.cpp:385: error: ‘png_set_compression_level’ was not declared in this scope
draw_png.cpp:388: error: ‘PNG_COLOR_TYPE_RGBA’ was not declared in this scope
draw_png.cpp:388: error: ‘PNG_INTERLACE_NONE’ was not declared in this scope
draw_png.cpp:389: error: ‘PNG_COMPRESSION_TYPE_BASE’ was not declared in this scope
draw_png.cpp:389: error: ‘PNG_FILTER_TYPE_BASE’ was not declared in this scope
draw_png.cpp:389: error: ‘png_set_IHDR’ was not declared in this scope
draw_png.cpp:391: error: ‘png_write_info’ was not declared in this scope
draw_png.cpp:395: error: ‘png_bytep’ was not declared in this scope
draw_png.cpp:395: error: ‘png_write_row’ was not declared in this scope
draw_png.cpp:398: error: ‘png_write_end’ was not declared in this scope
draw_png.cpp:399: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp: In function ‘bool discardImagePart()’:
draw_png.cpp:408: error: ‘pngPtrCurrent’ was not declared in this scope
draw_png.cpp: In function ‘bool composeFinalImage()’:
draw_png.cpp:427: error: ‘pngPtrMain’ was not declared in this scope
draw_png.cpp:427: error: ‘png_jmpbuf’ was not declared in this scope
draw_png.cpp:427: error: ‘setjmp’ was not declared in this scope
draw_png.cpp:428: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:467: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:473: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:473: error: ‘PNG_LIBPNG_VER_STRING’ was not declared in this scope
draw_png.cpp:473: error: ‘png_create_read_struct’ was not declared in this scope
draw_png.cpp:474: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:478: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngInfo’
draw_png.cpp:478: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:478: error: ‘png_create_info_struct’ was not declared in this scope
draw_png.cpp:479: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngInfo’
draw_png.cpp:479: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:479: error: ‘png_jmpbuf’ was not declared in this scope
draw_png.cpp:479: error: ‘setjmp’ was not declared in this scope
draw_png.cpp:483: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:483: error: ‘png_init_io’ was not declared in this scope
draw_png.cpp:484: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:484: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngInfo’
draw_png.cpp:484: error: ‘png_read_info’ was not declared in this scope
draw_png.cpp:487: error: ‘png_uint_32’ was not declared in this scope
draw_png.cpp:487: error: expected `;' before ‘width’
draw_png.cpp:488: error: expected `;' before ‘ret’
draw_png.cpp:489: error: ‘ret’ was not declared in this scope
draw_png.cpp:489: error: ‘width’ was not declared in this scope
draw_png.cpp:489: error: expected `)' before ‘img’
draw_png.cpp:490: error: ‘height’ was not declared in this scope
draw_png.cpp:486: warning: unused variable ‘type’
draw_png.cpp:486: warning: unused variable ‘interlace’
draw_png.cpp:486: warning: unused variable ‘comp’
draw_png.cpp:486: warning: unused variable ‘filter’
draw_png.cpp:486: warning: unused variable ‘bitDepth’
draw_png.cpp:495: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:499: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:499: error: ‘png_bytep’ was not declared in this scope
draw_png.cpp:499: error: ‘png_read_row’ was not declared in this scope
draw_png.cpp:509: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:509: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngInfo’
draw_png.cpp:509: error: ‘png_destroy_read_struct’ was not declared in this scope
draw_png.cpp:512: error: ‘struct<unnamed>::ImagePart’ has no member named ‘pngPtr’
draw_png.cpp:519: error: ‘pngPtrMain’ was not declared in this scope
draw_png.cpp:519: error: ‘png_bytep’ was not declared in this scope
draw_png.cpp:519: error: ‘png_write_row’ was not declared in this scope
draw_png.cpp:538: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:538: error: ‘png_write_end’ was not declared in this scope
draw_png.cpp:539: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:539: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:539: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:555: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:555: error: ‘PNG_LIBPNG_VER_STRING’ was not declared in this scope
draw_png.cpp:555: error: ‘png_create_write_struct’ was not declared in this scope
draw_png.cpp:556: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:560: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:560: error: ‘png_jmpbuf’ was not declared in this scope
draw_png.cpp:560: error: ‘setjmp’ was not declared in this scope
draw_png.cpp:563: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:563: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:563: error: ‘png_create_info_struct’ was not declared in this scope
draw_png.cpp:564: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:566: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:566: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:569: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:569: error: ‘png_init_io’ was not declared in this scope
draw_png.cpp:570: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:570: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:572: error: ‘PNG_COLOR_TYPE_RGBA’ was not declared in this scope
draw_png.cpp:572: error: ‘PNG_INTERLACE_NONE’ was not declared in this scope
draw_png.cpp:573: error: ‘PNG_COMPRESSION_TYPE_BASE’ was not declared in this scope
draw_png.cpp:573: error: ‘PNG_FILTER_TYPE_BASE’ was not declared in this scope
draw_png.cpp:573: error: ‘png_set_IHDR’ was not declared in this scope
draw_png.cpp:574: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:574: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:574: error: ‘png_write_info’ was not declared in this scope
draw_png.cpp:584: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:584: error: ‘png_bytep’ was not declared in this scope
draw_png.cpp:584: error: ‘png_write_row’ was not declared in this scope
draw_png.cpp:592: error: ‘pngPtrMain’ was not declared in this scope
draw_png.cpp:592: error: ‘png_write_end’ was not declared in this scope
draw_png.cpp:593: error: ‘pngInfoPtrMain’ was not declared in this scope
draw_png.cpp:593: error: ‘png_destroy_write_struct’ was not declared in this scope
draw_png.cpp:603: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:603: error: ‘png_bytep’ was not declared in this scope
draw_png.cpp:603: error: ‘png_write_row’ was not declared in this scope
draw_png.cpp:605: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:605: error: ‘png_write_end’ was not declared in this scope
draw_png.cpp:606: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngPtr’
draw_png.cpp:606: error: ‘struct<unnamed>::ImageTile’ has no member named ‘pngInfo’
draw_png.cpp:606: error: ‘png_destroy_write_struct’ was not declared in this scope
make: *** [draw_png.default.o] Error 1
Can someone help? Just imagine it's Linux. :'(