daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Apr 12th, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. silicatewielder@silicatewielder-X200MA:~/Downloads/corona-1.0.2$ make
  2. make  all-recursive
  3. make[1]: Entering directory '/home/silicatewielder/Downloads/corona-1.0.2'
  4. Making all in src
  5. make[2]: Entering directory '/home/silicatewielder/Downloads/corona-1.0.2/src'
  6. Making all in libungif-4.1.0
  7. make[3]: Entering directory '/home/silicatewielder/Downloads/corona-1.0.2/src/libungif-4.1.0'
  8. make[3]: Nothing to be done for 'all'.
  9. make[3]: Leaving directory '/home/silicatewielder/Downloads/corona-1.0.2/src/libungif-4.1.0'
  10. make[3]: Entering directory '/home/silicatewielder/Downloads/corona-1.0.2/src'
  11. if /bin/bash ../libtool --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"corona\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DNO_JPEG=1 -DSTDC_HEADERS=1  -I. -I. -I ../src/libungif-4.1.0    -g -O2 -Wall -Wno-non-virtual-dtor -MT OpenPNG.lo -MD -MP -MF ".deps/OpenPNG.Tpo" \
  12.   -c -o OpenPNG.lo `test -f 'OpenPNG.cpp' || echo './'`OpenPNG.cpp; \
  13. then mv -f ".deps/OpenPNG.Tpo" ".deps/OpenPNG.Plo"; \
  14. else rm -f ".deps/OpenPNG.Tpo"; exit 1; \
  15. fi
  16. rm -f .libs/OpenPNG.lo
  17. g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"corona\" -DVERSION=\"1.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DNO_JPEG=1 -DSTDC_HEADERS=1 -I. -I. -I ../src/libungif-4.1.0 -g -O2 -Wall -Wno-non-virtual-dtor -MT OpenPNG.lo -MD -MP -MF .deps/OpenPNG.Tpo -c OpenPNG.cpp  -fPIC -DPIC -o .libs/OpenPNG.lo
  18. OpenPNG.cpp: In function 'void corona::PNG_error_function(png_structp, png_const_charp)':
  19. OpenPNG.cpp:42:27: error: invalid use of incomplete type 'png_struct {aka struct png_struct_def}'
  20.      memcpy(jmpbuf, png_ptr->jmpbuf, sizeof(jmp_buf));
  21.                            ^~
  22. In file included from OpenPNG.cpp:8:0:
  23. /usr/local/include/png.h:470:16: note: forward declaration of 'png_struct {aka struct png_struct_def}'
  24.  typedef struct png_struct_def png_struct;
  25.                 ^~~~~~~~~~~~~~
  26. OpenPNG.cpp:42:52: error: 'memcpy' was not declared in this scope
  27.      memcpy(jmpbuf, png_ptr->jmpbuf, sizeof(jmp_buf));
  28.                                                     ^
  29. OpenPNG.cpp: In function 'void corona::fill_palette(png_structp, png_infop, png_color*)':
  30. OpenPNG.cpp:85:59: error: 'memcpy' was not declared in this scope
  31.        memcpy(palette, png_palette, 256 * sizeof(png_color));
  32.                                                            ^
  33. OpenPNG.cpp: In function 'corona::Image* corona::OpenPNG(corona::File*)':
  34. OpenPNG.cpp:168:66: error: 'memcpy' was not declared in this scope
  35.          memcpy(pixels + i * width * 4, row_pointers[i], width * 4);
  36.                                                                   ^
  37. OpenPNG.cpp:178:66: error: 'memcpy' was not declared in this scope
  38.          memcpy(pixels + i * width * 3, row_pointers[i], width * 3);
  39.                                                                   ^
  40. OpenPNG.cpp:233:45: error: 'memcpy' was not declared in this scope
  41.            memcpy(out, row_pointers[i], width);
  42.                                              ^
  43. Makefile:320: recipe for target 'OpenPNG.lo' failed
  44. make[3]: *** [OpenPNG.lo] Error 1
  45. make[3]: Leaving directory '/home/silicatewielder/Downloads/corona-1.0.2/src'
  46. Makefile:365: recipe for target 'all-recursive' failed
  47. make[2]: *** [all-recursive] Error 1
  48. make[2]: Leaving directory '/home/silicatewielder/Downloads/corona-1.0.2/src'
  49. Makefile:215: recipe for target 'all-recursive' failed
  50. make[1]: *** [all-recursive] Error 1
  51. make[1]: Leaving directory '/home/silicatewielder/Downloads/corona-1.0.2'
  52. Makefile:156: recipe for target 'all' failed
  53. make: *** [all] Error 2
  54. silicatewielder@silicatewielder-X200MA:~/Downloads/corona-1.0.2$
RAW Paste Data
Top