[Insight-users] problem installing myITKgui

charfeddine amir charfeddine_amir at yahoo.fr
Mon Jan 9 06:55:07 EST 2006


hello,
 i installed FLTK 1.1.6, VTK 4.5 and ITK 2.4 and every thing was ok during the installation ( i didn't use rpms, but use the traditional way : extract package and use ccmake, and finally make and make install and make test for each directory)
 i installed the InsightApplications-2.4 package too the same way.
 first i didn't know why i didn't find the /usr/local/InsightApplications-2.4.0/Auxiliary/FltkImageViewer
 nor the 
 /usr/local/InsightApplications-2.4.0/Auxiliary/ITKFlFileWriter
 in the binary directory ( he didn't build it ?)
 second  when i tried to install the myITKgui app, he produce error :
 ccmake ../myITKgui
 
 
 [root at timhpux myITKguibin]# ls
 CMakeCache.txt        cmake.check_cache       cmake_install.cmake  CMakeSystem.cmake  Makefile
 CMakeCCompiler.cmake  CMakeCXXCompiler.cmake  CMakeOutput.log      CMakeTmp/
 [root at timhpux myITKguibin]# make
 Building dependencies. cmake.depends...
 -- Loading VTK CMake commands
 -- Loading VTK CMake commands - done
 Building object file main.o...
 Building object file vtkFlRenderWindowInteractor.o...
 Building object file migAppBase.o...
 /usr/local/myITKgui/migAppBase.cxx: In member function 'void migAppBase::CreateITKPipeline()':
 /usr/local/myITKgui/migAppBase.cxx:141: warning: passing 'double' for argument 1 to 'void itk::BinaryThresholdImageFilter<TInputImage, TOutputImage>::SetOutsideValue(typename TOutputImage::PixelType) [with TInputImage = itk::Image<unsigned char, 3u>, TOutputImage = itk::Image<unsigned char, 3u>]'
 /usr/local/myITKgui/migAppBase.cxx:142: warning: passing 'double' for argument 1 to 'void itk::BinaryThresholdImageFilter<TInputImage, TOutputImage>::SetInsideValue(typename TOutputImage::PixelType) [with TInputImage = itk::Image<unsigned char, 3u>, TOutputImage = itk::Image<unsigned char, 3u>]'
 /usr/local/myITKgui/migAppBase.cxx:143: warning: passing 'double' for argument 1 to 'void itk::BinaryThresholdImageFilter<TInputImage, TOutputImage>::SetLowerThreshold(typename TInputImage::PixelType) [with TInputImage = itk::Image<unsigned char, 3u>, TOutputImage = itk::Image<unsigned char, 3u>]'
 /usr/local/myITKgui/migAppBase.cxx:144: warning: passing 'double' for argument 1 to 'void itk::BinaryThresholdImageFilter<TInputImage, TOutputImage>::SetUpperThreshold(typename TInputImage::PixelType) [with TInputImage = itk::Image<unsigned char, 3u>, TOutputImage = itk::Image<unsigned char, 3u>]'
 /usr/local/myITKgui/migAppBase.cxx: In member function 'void migAppBase::UpdatePipelineCallback()':
 /usr/local/myITKgui/migAppBase.cxx:155: warning: passing 'double' for argument 1 to 'void itk::BinaryThresholdImageFilter<TInputImage, TOutputImage>::SetOutsideValue(typename TOutputImage::PixelType) [with TInputImage = itk::Image<unsigned char, 3u>, TOutputImage = itk::Image<unsigned char, 3u>]'
 /usr/local/myITKgui/migAppBase.cxx:156: warning: passing 'double' for argument 1 to 'void itk::BinaryThresholdImageFilter<TInputImage, TOutputImage>::SetInsideValue(typename TOutputImage::PixelType) [with TInputImage = itk::Image<unsigned char, 3u>, TOutputImage = itk::Image<unsigned char, 3u>]'
 /usr/local/myITKgui/migAppBase.cxx:157: warning: passing 'double' for argument 1 to 'void itk::BinaryThresholdImageFilter<TInputImage, TOutputImage>::SetLowerThreshold(typename TInputImage::PixelType) [with TInputImage = itk::Image<unsigned char, 3u>, TOutputImage = itk::Image<unsigned char, 3u>]'
 /usr/local/myITKgui/migAppBase.cxx:158: warning: passing 'double' for argument 1 to 'void itk::BinaryThresholdImageFilter<TInputImage, TOutputImage>::SetUpperThreshold(typename TInputImage::PixelType) [with TInputImage = itk::Image<unsigned char, 3u>, TOutputImage = 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:100:   instantiated from here
 /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]# 

Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr> a écrit : On Fri, 06 Jan 2006 07:41:40 +0100, charfeddine amir  
 wrote:

> i didn't find any vtk package in the curent Linux version(Mandriva 2006)
> i do what u tell me above,
>
> [root at timhpux itk vtk mandriva rpms]# urpme `rpm -qa | grep vtk`
> désinstallation de libvtk-5.0.0-0.20051206.6mdk.i586
> [root at timhpux itk vtk mandriva rpms]#    urpmi vtk-devel
> pas de paquetage nommé vtk-devel
> [root at timhpux itk vtk mandriva rpms]#    urpmi vtk-devel*
> pas de paquetage nommé vtk-devel*
> [root at timhpux itk vtk mandriva rpms]#    urpmi libvtk-devel*
> Certains paquetages demandés ne peuvent pas être installés :
> libvtk-devel-5.0.0-0.20051206.6mdk.i586 (car devel(libtiff) est non  
> satisfait)
> Continuer ? (O/n)
> [root at timhpux itk vtk mandriva rpms]#

   
 i wait for your help and comment
 thankx
 
You should add some media to your config. Please, follow the instructions  
given of this site:
http://easyurpmi.zarb.org/

Gaetan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr



		
---------------------------------
 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/20060109/1ff8786d/attachment.htm


More information about the Insight-users mailing list