[Insight-users] WrapITK and itkvtkglue

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Tue Nov 24 09:20:17 EST 2009



Hi,

I'll be a bit more verbose than Mathieu ;-)

I think there is an option in wrapitk to build itk-vtk glue module.  
Unfortunately, this option works only with java, and has been put  
there as a workaround when external projects were not usable with that  
language.
The right way to build itk-vtk glue module is to use the external  
project in ExternalProjects/ItkVtkGlue.

Is that what you did?

Gaëtan



Le 24 nov. 09 à 14:47, Mathieu Malaterre a écrit :

> [adapting to OP verbose mailing style]
>
> $ nm -D /usr/lib/libvtkCommonPythonD.so | grep
> _Z29vtkPythonGetPointerFromObjectP7_objectPKc
> 00000000000c0150 T _Z29vtkPythonGetPointerFromObjectP7_objectPKc
>
> On Tue, Nov 24, 2009 at 2:26 PM, Lic. José M. Rodriguez Bacallao
> <jmrbcu at gmail.com> wrote:
>> so?
>>
>> On 11/23/09, Lic. José M. Rodriguez Bacallao <jmrbcu at gmail.com>  
>> wrote:
>>> hi folks, I successfully compile itk 3.16, wrapitk 0.3.0 from
>>> code.google.com but I have an small problem, in wrapitk I check the
>>> option itkvtk but when I try to use: itk.itkImageToVTKImageFilter it
>>> doesn't work, it give the following error:
>>>
>>> ImportError: /usr/lib/InsightToolkit/WrapITK/lib/_ItkVtkPython.so:
>>> undefined symbol: _Z29vtkPythonGetPointerFromObjectP7_objectPKc
>>>
>>> which is the correct way to compile ItkVtkGlue from WrapITK?
>>>
>>> --
>>> Lic. José M. Rodriguez Bacallao
>>> Centro de Biofisica Medica
>>> -----------------------------------------------------------------
>>> Todos somos muy ignorantes, lo que ocurre es que no todos  
>>> ignoramos lo
>>> mismo.
>>>
>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>>> por profesionales
>>> -----------------------------------------------------------------
>>>
>>
>>
>> --
>> Lic. José M. Rodriguez Bacallao
>> Centro de Biofisica Medica
>> -----------------------------------------------------------------
>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos  
>> lo mismo.
>>
>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>> por profesionales
>> -----------------------------------------------------------------
>> _____________________________________
>> 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.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
>>
>
>
>
> -- 
> Mathieu
> _____________________________________
> 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.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

-- 
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  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091124/d9da14c4/attachment-0001.pgp>


More information about the Insight-users mailing list