You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libpng 1.5.9-1
$ scons
[...]
g++ -o build/src/plugins/png.o -c -O3 -s -isystem/usr/include/libpng15
-isystem/usr/include/SDL -fopenmp -isystem/usr/include/ImageMagick
-D_GNU_SOURCE=1 -D_REENTRANT -Ibuild/src -Isrc src/plugins/png.cpp
src/plugins/png.cpp: In function 'void readPNGMemory(png_structp, png_bytep,
png_size_t)':
src/plugins/png.cpp:35:59: error: invalid use of incomplete type 'png_struct
{aka struct png_struct_def}'
/usr/include/libpng15/png.h:855:16: error: forward declaration of 'png_struct
{aka struct png_struct_def}'
src/plugins/png.cpp: In static member function 'static bool
PNG::get_size(void*, int, Size&)':
src/plugins/png.cpp:55:7: error: invalid use of incomplete type 'png_struct
{aka struct png_struct_def}'
/usr/include/libpng15/png.h:855:16: error: forward declaration of 'png_struct
{aka struct png_struct_def}'
src/plugins/png.cpp: In static member function 'static bool PNG::get_size(const
string&, Size&)':
src/plugins/png.cpp:96:9: error: invalid use of incomplete type 'png_struct
{aka struct png_struct_def}'
/usr/include/libpng15/png.h:855:16: error: forward declaration of 'png_struct
{aka struct png_struct_def}'
src/plugins/png.cpp: In static member function 'static SoftwareSurfacePtr
PNG::load_from_file(const string&)':
src/plugins/png.cpp:133:9: error: invalid use of incomplete type 'png_struct
{aka struct png_struct_def}'
/usr/include/libpng15/png.h:855:16: error: forward declaration of 'png_struct
{aka struct png_struct_def}'
src/plugins/png.cpp: In static member function 'static SoftwareSurfacePtr
PNG::load_from_mem(const uint8_t*, int)':
src/plugins/png.cpp:207:7: error: invalid use of incomplete type 'png_struct
{aka struct png_struct_def}'
/usr/include/libpng15/png.h:855:16: error: forward declaration of 'png_struct
{aka struct png_struct_def}'
src/plugins/png.cpp: In static member function 'static void PNG::save(const
SoftwareSurfacePtr&, const string&)':
src/plugins/png.cpp:281:9: error: invalid use of incomplete type 'png_struct
{aka struct png_struct_def}'
/usr/include/libpng15/png.h:855:16: error: forward declaration of 'png_struct
{aka struct png_struct_def}'
src/plugins/png.cpp: In function 'void writePNGMemory(png_structp, png_bytep,
png_size_t)':
src/plugins/png.cpp:323:61: error: invalid use of incomplete type 'png_struct
{aka struct png_struct_def}'
/usr/include/libpng15/png.h:855:16: error: forward declaration of 'png_struct
{aka struct png_struct_def}'
src/plugins/png.cpp: In static member function 'static BlobPtr PNG::save(const
SoftwareSurfacePtr&)':
src/plugins/png.cpp:335:7: error: invalid use of incomplete type 'png_struct
{aka struct png_struct_def}'
/usr/include/libpng15/png.h:855:16: error: forward declaration of 'png_struct
{aka struct png_struct_def}'
scons: *** [build/src/plugins/png.o] Error 1
scons: building terminated because of errors.
Please tell me if I should add info to this report.
Original issue reported on code.google.com by qubodup on 20 Mar 2012 at 5:04
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
qubodup
on 20 Mar 2012 at 5:04The text was updated successfully, but these errors were encountered: