[Insight-users] problem: InsigthApplications
Luis Ibanez
luis.ibanez at kitware.com
Sat Aug 15 20:30:02 EDT 2009
Hi Raquel
Two suggestions:
A) Please DO NOT mix versions of Insight Applications with Insight.
B) Did you configured ITK using SHARED libraries ?
Do you need to use ITK wrapping ?
If not, then you are better off by using STATIC libraries.
The same goes for VTK.
Regards,
Luis
-----------------------------------------------------------------
On Wed, Aug 12, 2009 at 7:00 AM, Raquel Itk <raquelitk at gmail.com> wrote:
> Hi,
> I solved the old problem problem, because I have a problem with the
> version of ITK. Now, I have a new problem. I use: Insight Apllications
> 3.14.0 + vtk 5.4.2 + ITK 3.10.0 and MAC OS 10.4.11. Perhaps the
> problem is that use MAC , because I read a similar problem in a forum.
> The new error is that:
>
> [ 62%] Built target vtkFltkExample
> Linking CXX shared library libITKVTKIntegration.dylib
> ld: Undefined symbols:
> __ZN11vtkProperty3NewEv
> __ZN11vtkProperty8SetColorEddd
> __ZN11vtkRenderer11ResetCameraEv
> __ZN11vtkRenderer15GetActiveCameraEv
> __ZN11vtkRenderer3NewEv
> __ZN11vtkRenderer8AddActorEP7vtkProp
> __ZN12vtkMatrix4x43NewEv
> __ZN12vtkPNGWriter3NewEv
> __ZN15vtkRenderWindow3NewEv
> __ZN17vtkImageAlgorithm8SetInputEP13vtkDataObject
> __ZN17vtkPolyDataMapper3NewEv
> __ZN17vtkPolyDataMapper8SetInputEP11vtkPolyData
> __ZN22vtkWindowToImageFilter3NewEv
> __ZN22vtkWindowToImageFilter8SetInputEP9vtkWindow
> __ZN22vtkWindowToImageFilter9GetOutputEv
> __ZN25vtkRenderWindowInteractor15SetRenderWindowEP15vtkRenderWindow
> __ZN25vtkRenderWindowInteractor3NewEv
> __ZN8vtkActor11SetPropertyEP11vtkProperty
> __ZN8vtkActor3NewEv
> __ZN9vtkCamera11SetPositionEddd
> __ZN9vtkCamera13SetFocalPointEddd
> __ZN9vtkCamera16SetClippingRangeEdd
> __ZN9vtkCamera9SetViewUpEddd
> __ZN9vtkProp3D13SetUserMatrixEP12vtkMatrix4x4
> __ZN12vtkImageData13GetScalarTypeEv
> __ZN13vtkObjectBase10FastDeleteEv
> __ZN13vtkObjectBase10UnRegisterEPS_
> __ZN13vtkObjectBase11PrintHeaderERSo9vtkIndent
> __ZN13vtkObjectBase12PrintTrailerERSo9vtkIndent
> __ZN13vtkObjectBase16ReportReferencesEP19vtkGarbageCollector
> __ZN13vtkObjectBase6DeleteEv
> __ZN13vtkObjectBase8IsTypeOfEPKc
> __ZN13vtkObjectBase8RegisterEPS_
> __ZN14vtkImageImport3NewEv
> __ZN16vtkObjectFactory14CreateInstanceEPKc
> __ZN17vtkImageAlgorithm9GetOutputEv
> __ZN17vtkOStreamWrapperC1ERSo
> __ZN17vtkOStreamWrapperD1Ev
> __ZN17vtkOStreamWrappercvRSoEv
> __ZN17vtkOStreamWrapperlsEPKc
> __ZN9vtkObject16CollectRevisionsERSo
> __ZN9vtkObject16RegisterInternalEP13vtkObjectBasei
> __ZN9vtkObject18UnRegisterInternalEP13vtkObjectBasei
> __ZN9vtkObject7DebugOnEv
> __ZN9vtkObject8DebugOffEv
> __ZN9vtkObject8GetMTimeEv
> __ZN9vtkObject8ModifiedEv
> __ZN9vtkObject9PrintSelfERSo9vtkIndent
> __ZN9vtkObjectC2Ev
> __ZN9vtkObjectD2Ev
> __ZTI9vtkObject
> __ZN3itk11GDCMImageIOC1Ev
> __ZN3itk11ImageIOBase21SetNumberOfDimensionsEj
> __ZN3itk14ImageIOFactory13CreateImageIOEPKcNS0_12FileModeTypeE
> __ZN3itk19GDCMSeriesFileNames12GetFileNamesESs
> __ZN3itk19GDCMSeriesFileNames17SetInputDirectoryERKSs
> __ZN3itk19GDCMSeriesFileNamesC1Ev
> __ZN3itklsERSoRKNS_13ImageIORegionE
> __ZNK3itk11ImageIOBase19GetImageSizeInBytesEv
> __ZNK3itk11ImageIOBase24GetComponentTypeAsStringENS0_15IOComponentTypeE
> __ZTIN3itk11GDCMImageIOE
> __ZTIN3itk11ImageIOBaseE
> __ZTIN3itk19GDCMSeriesFileNamesE
> __ZTVN3itk13ImageIORegionE
> /usr/bin/libtool: internal link edit command failed
> make[2]: *** [Auxiliary/vtk/libITKVTKIntegration.dylib] Error 1
> make[1]: *** [Auxiliary/vtk/CMakeFiles/ITKVTKIntegration.dir/all] Error 2
> make: *** [all] Error 2
>
> Regards
>
> Raquel
>
>
> 2009/8/3, Raquel Itk <raquelitk at gmail.com>:
> > Hi,
> >
> > I want to compile Insight Apllications 3.14.0 but whan I'm building I
> have
> > these errors:
> >
> >
> >
> > -----------------------------------------------
> > */Users/Raquel/VTK/VTK/Common/vtkIndent.h:30: warning: 'class vtkIndent'
> > has
> > virtual functions but non-virtual destructor
> > /Users/Raquel/VTK/VTK/Common/vtkTimeStamp.h:29: warning: 'class
> > vtkTimeStamp' has virtual functions but non-virtual destructor
> >
> /PROYECTO/InsightApplications-3.14.0/ConvertBetweenFileFormats/castconverthelpers.h:
> > In function 'void ReadDicomSeriesCastWriteImage(std::string,
> std::string)':
> >
> /PROYECTO/InsightApplications-3.14.0/ConvertBetweenFileFormats/castconverthelpers.h:165:
> > error: 'New' is not a member of 'vtkSmartPointer<vtkXMLImageDataWriter>'
> >
> /PROYECTO/InsightApplications-3.14.0/ConvertBetweenFileFormats/castconverthelpers.h:
> > In function 'void ReadCastWriteImage(std::string, std::string)':
> >
> /PROYECTO/InsightApplications-3.14.0/ConvertBetweenFileFormats/castconverthelpers.h:220:
> > error: 'New' is not a member of 'vtkSmartPointer<vtkXMLImageDataReader>'
> >
> /PROYECTO/InsightApplications-3.14.0/ConvertBetweenFileFormats/castconverthelpers.h:250:
> > error: 'New' is not a member of 'vtkSmartPointer<vtkXMLImageDataWriter>'
> >
> /PROYECTO/InsightApplications-3.14.0/ConvertBetweenFileFormats/castconverthelpers.h:
> > In function 'int ReadVTICastWriteImage(std::string, std::string, int)':
> >
> /PROYECTO/InsightApplications-3.14.0/ConvertBetweenFileFormats/castconverthelpers.h:318:
> > error: 'New' is not a member of 'vtkSmartPointer<vtkXMLImageDataReader>'
> >
> /PROYECTO/InsightApplications-3.14.0/ConvertBetweenFileFormats/castconverthelpers.h:325:
> > error: 'VTK_SIGNED_CHAR' was not declared in this scope
> > make[2]: ***
> >
> [ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertDicomScalar.o]
> > Error 1
> > make[1]: ***
> > [ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/all]
> > Error 2
> > make: *** [all] Error 2
> > *-----
> >
> > I have followed these instructions
> > http://www.itk.org/Wiki/ITK_Insight_Applications
> >
> > Regards
> >
> > Raquel
> >
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090815/e5f12174/attachment-0001.htm>
More information about the Insight-users
mailing list