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