[Insight-users] WrapITK and itkvtkglue

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


Le 24 nov. 09 à 15:46, Lic. José M. Rodriguez Bacallao a écrit :

> well, I did a cmake-gui . in the itkvtkglue extra project dir and give
> it the vtk lib dir, then I configure it but it give me the following
> warning:
>
> CMake Warning (dev) in CMakeLists.txt:
>  No cmake_minimum_required command is present.  A line of code such as
>
>    cmake_minimum_required(VERSION 2.6)
>
>  should be added at the top of the file.  The version specified may  
> be lower
>  if you wish to support older CMake versions for this project.  For  
> more
>  information run "cmake --help-policy CMP0000".
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> is this warning normal?

I wouldn't say "normal", but I can say you shouldn't have a problem  
because of it.

Gaëtan

>
> On 11/24/09, Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>>
>> Le 24 nov. 09 à 15:27, Lic. José M. Rodriguez Bacallao a écrit :
>>
>>> how do I build itkvtkglue, did I need to go to his dir and type
>>> cmake-gui .  and then give it a build dir?
>>>
>>
>> yes!
>>
>>> On 11/24/09, Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>>>>
>>>>
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> 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
>>> -----------------------------------------------------------------
>>
>> --
>> 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
>>
>>
>
>
> -- 
> 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
> -----------------------------------------------------------------

-- 
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/e58cd6a8/attachment.pgp>


More information about the Insight-users mailing list