I'm trying to include the CImg library (CImg.h) in my project, but when I attempted to compile, I get the following error:
fatal error C1091: compiler limit: string exceeds 65535 bytes in length
I'm using Visual Studio 2010, and I have my compiler command line setting set to /Zm2000. I have no idea what to try next. Any insight is appreciated.
(And if anyone is wondering why I'm using CImg, I needed an image processing library that can calculate the gradient vectors of an image, and CImg seemed the most straight-forward to pick up)