This project is tested to work in Linux, and a Makefile is included. One note when you try to compile in optimized mode. There's a problem that I think might be a bug in gcc, I don't know. But there are linking errors. The solution is: 1. compile the image.cpp class without -O2 2. Type make. This should work. Also compiling the whole project unoptimized, or in debug mode, works too. If anyone fixes this problem, email me.