Hi all,<div><br></div><div>Having some issues compiling latest git (5404d9111835587b416118d56ca0955c40152282) on Linux (Arch).  It appears to be related to a recent libpng upgrade (the horror, what a crazy lib that is).  My system has libpng as 1.4.0-2, and it appears to have installed a new packaged called "libpng12" which appears to be from the 1.2 series of releases (1.2.40-1).  I get a lot of deprecation notices:</div>
<div><br></div><div><div>libfluxus/src/PNGLoader.cpp: In static member function 'static unsigned char* Fluxus::PNGLoader::Load(const std::string&, unsigned int&, unsigned int&, Fluxus::PixelFormat&)':</div>
<div>libfluxus/src/PNGLoader.cpp:49: warning: 'png_info_struct::width' is deprecated (declared at /usr/include/png.h:632)</div><div>libfluxus/src/PNGLoader.cpp:49: warning: 'png_info_struct::width' is deprecated (declared at /usr/include/png.h:632)</div>
<div>libfluxus/src/PNGLoader.cpp:50: warning: 'png_info_struct::height' is deprecated (declared at /usr/include/png.h:633)</div><div>libfluxus/src/PNGLoader.cpp:50: warning: 'png_info_struct::height' is deprecated (declared at /usr/include/png.h:633)</div>
<div>libfluxus/src/PNGLoader.cpp:51: warning: 'png_info_struct::bit_depth' is deprecated (declared at /usr/include/png.h:639)</div><div>libfluxus/src/PNGLoader.cpp:51: warning: 'png_info_struct::bit_depth' is deprecated (declared at /usr/include/png.h:639)</div>
<div>libfluxus/src/PNGLoader.cpp:52: warning: 'png_info_struct::color_type' is deprecated (declared at /usr/include/png.h:640)</div><div>libfluxus/src/PNGLoader.cpp:52: warning: 'png_info_struct::color_type' is deprecated (declared at /usr/include/png.h:640)</div>
<div>libfluxus/src/PNGLoader.cpp:94: warning: 'png_struct_def::color_type' is deprecated (declared at /usr/include/png.h:1150)</div><div>libfluxus/src/PNGLoader.cpp:94: warning: 'png_struct_def::color_type' is deprecated (declared at /usr/include/png.h:1150)</div>
<div>libfluxus/src/PNGLoader.cpp: In static member function 'static void Fluxus::PNGLoader::Save(const std::string&, unsigned int, unsigned int, Fluxus::PixelFormat, unsigned char*)':</div><div>libfluxus/src/PNGLoader.cpp:172: error: 'text_ptr' was not declared in this scope</div>
</div><div><br></div><div>Then this error at the end.  I know libpng is a nightmare to deal with (fought it several times on my own projects), how do you think this should be addressed in fluxus?</div><div><br></div><div>
thanks,</div><div>dave</div><div><br></div>