I am trying to compile some basic example of loading / writing a .png image using png ++ (which is the C ++ shell for libpng. It is very important for me to use png ++ and not an alternative. As premixes of png ++, I need both libpng that I successfully created.
The example I'm trying to figure out how to install is located at the following link.
http://fedetft.wordpress.com/2010/10/05/handling-png-images-in-cpp/
it comes with cmakelist and I use Cmake to create two examples.
However, when I create it, I get the following error: "Byte order cannot be detected." which comes from config.hpp
Many thanks
source
share