SHARE
TWEET
Untitled
a guest
Apr 12th, 2017
59
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- silicatewielder@silicatewielder-X200MA:~/Downloads/corona-1.0.2$ make
- make all-recursive
- make[1]: Entering directory '/home/silicatewielder/Downloads/corona-1.0.2'
- Making all in src
- make[2]: Entering directory '/home/silicatewielder/Downloads/corona-1.0.2/src'
- Making all in libungif-4.1.0
- make[3]: Entering directory '/home/silicatewielder/Downloads/corona-1.0.2/src/libungif-4.1.0'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory '/home/silicatewielder/Downloads/corona-1.0.2/src/libungif-4.1.0'
- make[3]: Entering directory '/home/silicatewielder/Downloads/corona-1.0.2/src'
- 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" \
- -c -o OpenPNG.lo `test -f 'OpenPNG.cpp' || echo './'`OpenPNG.cpp; \
- then mv -f ".deps/OpenPNG.Tpo" ".deps/OpenPNG.Plo"; \
- else rm -f ".deps/OpenPNG.Tpo"; exit 1; \
- fi
- rm -f .libs/OpenPNG.lo
- 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
- OpenPNG.cpp: In function 'void corona::PNG_error_function(png_structp, png_const_charp)':
- OpenPNG.cpp:42:27: error: invalid use of incomplete type 'png_struct {aka struct png_struct_def}'
- memcpy(jmpbuf, png_ptr->jmpbuf, sizeof(jmp_buf));
- ^~
- In file included from OpenPNG.cpp:8:0:
- /usr/local/include/png.h:470:16: note: forward declaration of 'png_struct {aka struct png_struct_def}'
- typedef struct png_struct_def png_struct;
- ^~~~~~~~~~~~~~
- OpenPNG.cpp:42:52: error: 'memcpy' was not declared in this scope
- memcpy(jmpbuf, png_ptr->jmpbuf, sizeof(jmp_buf));
- ^
- OpenPNG.cpp: In function 'void corona::fill_palette(png_structp, png_infop, png_color*)':
- OpenPNG.cpp:85:59: error: 'memcpy' was not declared in this scope
- memcpy(palette, png_palette, 256 * sizeof(png_color));
- ^
- OpenPNG.cpp: In function 'corona::Image* corona::OpenPNG(corona::File*)':
- OpenPNG.cpp:168:66: error: 'memcpy' was not declared in this scope
- memcpy(pixels + i * width * 4, row_pointers[i], width * 4);
- ^
- OpenPNG.cpp:178:66: error: 'memcpy' was not declared in this scope
- memcpy(pixels + i * width * 3, row_pointers[i], width * 3);
- ^
- OpenPNG.cpp:233:45: error: 'memcpy' was not declared in this scope
- memcpy(out, row_pointers[i], width);
- ^
- Makefile:320: recipe for target 'OpenPNG.lo' failed
- make[3]: *** [OpenPNG.lo] Error 1
- make[3]: Leaving directory '/home/silicatewielder/Downloads/corona-1.0.2/src'
- Makefile:365: recipe for target 'all-recursive' failed
- make[2]: *** [all-recursive] Error 1
- make[2]: Leaving directory '/home/silicatewielder/Downloads/corona-1.0.2/src'
- Makefile:215: recipe for target 'all-recursive' failed
- make[1]: *** [all-recursive] Error 1
- make[1]: Leaving directory '/home/silicatewielder/Downloads/corona-1.0.2'
- Makefile:156: recipe for target 'all' failed
- make: *** [all] Error 2
- silicatewielder@silicatewielder-X200MA:~/Downloads/corona-1.0.2$
RAW Paste Data
