I'm fairly new to c++ and I've got a big array of int's that I want to use as the Red(or green/blue) value of an image (gif, png, anything is ok.) I found a nice lib called PNG writer, but I cant get it to install. I have to clue where to start on this. Also, it has to work on Linux.
In file included from /usr/local/include/pngwriter.h:58,
from ttt.cpp:1:
/usr/local/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
In file included from ttt.cpp:1:
/usr/local/include/pngwriter.h:59:10: error: #include expects "FILENAME" or <FILENAME>
In file included from ttt.cpp:1:
/usr/local/include/pngwriter.h:125: error: ‘FT_Bitmap’ has not been declared
/usr/local/include/pngwriter.h:126: error: ‘FT_Bitmap’ has not been declared
is what I get from trying to compile the example with libpngwriter0c2, libpngwriter0-dev installed