I am trying to compile some basic example of loading/writing a .png image using png++ (which is a c++ wrapper for libpng. It is quite important for me to use png++ and not an alternative. As prerequisites png++ needs both libpng which I have successfully built.
the example that i am trying to figure out how to set is located at the following link. http://fedetft.wordpress.com/2010/10/05/handling-png-images-in-cpp/ it ships with a cmakelist and I am using Cmake to build the two examples.
however when I build this I get the following error : "Byte-order could not be detected." which comes from config.hpp
thank you very much