How to compile with CImg.h
The compiler that I have been using comes with bloodshed Dev C++
Dev C++ can be downloaded from
Here Dev C++
Install Dev C++ then ignore the IDE that comes with it just use the compilers that it installs in C:\Dev-C++\Bin
And CImg.h can be downloaded from (Tweaked by me to work on Windows)
Extract the CImg.zip files and place them in C:\Dev-C++\Bin
This is because unfortunatly I have not been able to find a way of compiling any of the examples without them being in the bin, even with the bin folder being in the enviroment variables.
To compile the tutorial example load CMD
g++ -o tutorial.exe tutorial.cpp -O2 -lgdi32
This will take about 40sec to compile but does make quite a cool program,
Give it a go let me know if you get stuck, this should allow you to then start playing around with CImg and see if we can use it for out project!