[Insight-users] error: invalid static_cast from type 'int' to type 'const itk::Image<unsigned char, 3u>*'

charfeddine amir charfeddine_amir at yahoo.fr
Fri Jan 13 04:10:04 EST 2006


 Hi All
 
 while trying to build myITKgui package, i get error during build process :
 
 /usr/local/include/InsightToolkit/Common/itkSmartPointer.h:90: error: invalid static_cast from type 'int' to type 'const itk::Image<unsigned char, 3u>*'
 /usr/local/include/InsightToolkit/Common/itkSmartPointer.h: In member function 'bool itk::SmartPointer<TObjectType>::operator==(R) const [with R = int, TObjectType = itk::Image<unsigned char, 3u>]':
 /usr/local/myITKgui/migAppBase.cxx:246:   instantiated from here
 /usr/local/include/InsightToolkit/Common/itkSmartPointer.h:86: error: invalid static_cast from type 'int' to type 'const itk::Image<unsigned char, 3u>*'
 make[1]: *** [migAppBase.o] Erreur 1
 make: *** [default_target] Erreur 2
 [root at timhpux myITKguibin]# 
 
 thankx for any help or comment.
 Amir.
 

		
---------------------------------
 Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060113/7871a30b/attachment.htm


More information about the Insight-users mailing list