views:

45

answers:

1

I wish to use the CImg library for image processing in my current project. I am using Codegear C++ Builder 2009. I include CImg.h in the source file and put in the following code:

int rows =5;
int cols = 5;

CImg<double> img(rows,cols);

I get the following error:

[BCC32 Error] CImg.h(39159): E2285 Could not find a match for 'CImg<unsigned char>::move_to<t>(const CImg<unsigned char>)'

Does anyone know if there is a #define I should be using when building in Codegear C++ Builder 2009. Or is it simply not compatible?

+2  A: 
Josh Kelley
Thanks Josh. However, I don't feel much like delving into the library. It builds in VS 2005. So I just made a cross compiler compatible dll instead.
Seth