I had the the same problem with CImg 1.5.8 and VS 2010 (and with VS 2012 too). The solution is to roll back to CImg 1.5.7. In 1.5.8 they use different way to store font data:
const char *const data_font47x53 = " ...
instead of
const unsigned int font29x57[29*57*256/32] = {0x0,0x0 ...
in earlier versions. It looks like that's the problem.