[Insight-users] Strange compilation error when trying to use itkExtractImageFilter
Daanen Vincent
daanen at koelis.com
Tue Apr 27 06:40:38 EDT 2010
Dear All,
I'm integrating itk toolkit in a new project and I run into a troubling compilation error.
My configuration is : windows XP SP3 box / using VS2005 / itk 3.16.0. I compiled and installed Debug and Release version in 2 separate directories.
I want to use itkExtractImageFilter. I copy/paste code from "Insight User Guide" and it compiles and works well in release. As I want to use my application in Debug mode, I tried to compile and got this error from the compiler:
d:\outils\itk3.16.0\static-mfc\debug\include\insighttoolkit\basicfilters\itkExtractImageFilter.h(74) : error C2660: 'itk::LightObject::operator new'ÿ: function does not need 3 args
d:\outils\itk3.16.0\static-mfc\debug\include\insighttoolkit\basicfilters\itkExtractImageFilter.h(74)ÿ: lors de la compilation de la fonction membre '<Inconnu>' de la classe <Inconnu>
D:\USERS\Daanen\PROJETS\ZZ - Trials\UC-ItkTools\Test-ItkTools\Test-ItkTools.cpp(221)ÿ: voir la r‚f‚rence … l'instanciation de la classe modŠle 'itk::ExtractImageFilter<TInputImage,TOutputImage>' en cours de compilation
with
[
TInputImage=InputImageType,
TOutputImage=OutputImageType
]
A mailing-list search points me to a message of someone how tried to compile a CD-ROM version with a CVS version but this does not help me :(
Any clue to resolve this issue ?
Thanks
Vincent
More information about the Insight-users
mailing list