[Insight-users] problems compiling myITKgui
Aneta Markova
amarkova at etro.vub.ac.be
Fri Dec 2 05:09:34 EST 2005
Hello,
I am trying to compile myITKgui using the new release ITK 2.2 on VS 2003.
But I have the following errors:
migAppBase.cxx
d:\APPLICATIONS\ITKVTKComplete\InsightToolkit-2.4.0\Code\Common\itkSmartPoin
ter.h(89) : error C2440: 'static_cast' : cannot convert from 'int' to 'const
itk::SmartPointer<TObjectType>::ObjectType *'
with
[
TObjectType=itk::Image<unsigned char,3>::Self
]
Conversion from integral type to pointer type requires
reinterpret_cast, C-style cast or function-style cast
\APPLICATIONS\ITK_Tools\myITKgui\migAppBase.cxx(100) : see reference
to function template instantiation 'bool
itk::SmartPointer<TObjectType>::operator !=<int>(R) const' being compiled
with
[
TObjectType=itk::Image<unsigned char,3>::Self,
R=int
]
d:\APPLICATIONS\ITKVTKComplete\InsightToolkit-2.4.0\Code\Common\itkSmartPoin
ter.h(85) : error C2440: 'static_cast' : cannot convert from 'int' to 'const
itk::SmartPointer<TObjectType>::ObjectType *'
with
[
TObjectType=itk::Image<unsigned char,3>::Self
]
Conversion from integral type to pointer type requires
reinterpret_cast, C-style cast or function-style cast
\APPLICATIONS\ITK_Tools\myITKgui\migAppBase.cxx(247) : see reference
to function template instantiation 'bool
itk::SmartPointer<TObjectType>::operator ==<int>(R) const' being compiled
with
[
TObjectType=itk::Image<unsigned char,3>::Self,
R=int
]
Does anybody have any idea what could be the problem?
Thanx,
Aneta
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/190 - Release Date: 12/1/2005
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4346 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20051202/d36dad94/winmail.bin
More information about the Insight-users
mailing list