Configuring png ++ to work

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

+3
source share
1 answer

, libpng++ WIN32.

#elif (__ WIN32) #elif (WIN32) config.hpp.

P.S. libpng++, , .

P.S.S. Windows, ofc.

+4

All Articles