CImg compile problems in Codegear 2009

Posted by Seth on Stack Overflow See other posts from Stack Overflow or by Seth
Published on 2010-05-27T03:06:35Z Indexed on 2010/05/27 3:11 UTC
Read the original article Hit count: 268

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about c++

Related posts about c++builder