[ITK-users] Error converting ITK to VTK
Bill Lorensen
bill.lorensen at gmail.com
Fri May 22 15:39:34 EDT 2015
Which example?
On Fri, May 22, 2015 at 3:36 PM, viana <vianamp at gmail.com> wrote:
> Hi guys, I am trying to convert a ITK image into a vtkImageData using
> ImageToVTKImageFilter. However, when I try to compile the example code, I
> got these error messages. Do you have any idea what could be wrong?
>
> FYI, the Module ITKVtkGlue is properly installed.
>
> Thanks
> -m
>
> Undefined symbols for architecture x86_64:
> "vtable for itk::VTKImageExportBase", referenced from:
> itk::VTKImageExport<itk::Image<unsigned char, 3u>
>>::~VTKImageExport()in ccUR0yiA.o
> itk::VTKImageExport<itk::Image<unsigned char, 3u>
>>::~VTKImageExport()in ccUR0yiA.o
> itk::VTKImageExport<itk::Image<unsigned char, 3u>
>>::VTKImageExport()in ccUR0yiA.o
> NOTE: a missing vtable usually means the first non-inline virtual member
> function has no definition.
> "itk::VTKImageExportBase::PrintSelf(std::basic_ostream<char,
> std::char_traits<char> >&, itk::Indent) const", referenced from:
> itk::VTKImageExport<itk::Image<unsigned char, 3u>
>>::PrintSelf(std::basic_ostream<char, std::char_traits<char> >&,
> itk::Indent) constin ccUR0yiA.o
> "itk::VTKImageExportBase::VTKImageExportBase()", referenced from:
> itk::VTKImageExport<itk::Image<unsigned char, 3u>
>>::VTKImageExport()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetUpdateInformationCallback() const",
> referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetPipelineModifiedCallback() const", referenced
> from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetWholeExtentCallback() const", referenced
> from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetSpacingCallback() const", referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetOriginCallback() const", referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetScalarTypeCallback() const", referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetNumberOfComponentsCallback() const",
> referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetPropagateUpdateExtentCallback() const",
> referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetUpdateDataCallback() const", referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetDataExtentCallback() const", referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetBufferPointerCallback() const", referenced
> from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "itk::VTKImageExportBase::GetCallbackUserData()", referenced from:
> itk::ImageToVTKImageFilter<itk::Image<unsigned char, 3u>
>>::ImageToVTKImageFilter()in ccUR0yiA.o
> "typeinfo for itk::VTKImageExportBase", referenced from:
> typeinfo for itk::VTKImageExport<itk::Image<unsigned char, 3u> >in
> ccUR0yiA.o
> "itk::VTKImageExportBase::UpdateInformationCallback()", referenced from:
> vtable for itk::VTKImageExport<itk::Image<unsigned char, 3u> >in
> ccUR0yiA.o
> "itk::VTKImageExportBase::PipelineModifiedCallback()", referenced from:
> vtable for itk::VTKImageExport<itk::Image<unsigned char, 3u> >in
> ccUR0yiA.o
> "itk::VTKImageExportBase::UpdateDataCallback()", referenced from:
> vtable for itk::VTKImageExport<itk::Image<unsigned char, 3u> >in
> ccUR0yiA.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> make: *** [debug] Error 1
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Error-converting-ITK-to-VTK-tp7587392.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> 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://public.kitware.com/mailman/listinfo/insight-users
--
Unpaid intern in BillsBasement at noware dot com
More information about the Insight-users
mailing list