2010-07-15 08:57:11 PDT
Hello, I am a beginner programmer.
I use Visual Studio 6.0.
I simply cannot compile anything using the CImg, here is the thing :
I dowloaded CImg 1.3.7.
The n I tried to compile one the many examples given, and every time, I time 102 errors, the first one being :
e:\codec++\libimage\cimg-1.3.7\cimg.h(1931) : error C2039: 'FILE' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(1931) : error C2039: 'FILE' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(3866) : error C2039: 'FILE' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(3866) : error C2039: 'FILE' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(3867) : error C2039: 'FILE' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(3879) : error C2039: 'va_list' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(3886) : error C2039: 'fprintf' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(3901) : error C2039: 'memset' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(3902) : error C2039: 'memset' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(3915) : error C2039: 'system' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(4070) : error C2039: 'srand' : is not a member of 'std'
e:\codec++\libimage\cimg-1.3.7\cimg.h(4070) : error C2660: 'srand' : function does not take 1 parameters
...etc..
does anyone has the same problem ?
I included the CImg.h properly, but VC++ simply qon't compile it.
This is very frustrating, since everyone seems to be using it easily.
Thank you for your help,
Remi