[Insight-developers] VXL + WrapITK for Farsight

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Jun 10 10:17:25 EDT 2009


Le 10 juin 09 à 15:36, Kevin H. Hobbs a écrit :

> On Wed, 2009-06-10 at 00:07 +0200, Gaëtan Lehmann wrote:
>> Le 9 juin 09 à 23:24, Kevin H. Hobbs a écrit :
>>> Should it not be linked in if ITK_USE_SYSTEM_VXL is set?
>>
>> That's an option, but I'd prefer to not depend on ITK configuration
>> flags which may not be exported in ITK's cmake configuration, and  
>> thus
>> be unusable in the wrapitk hosted at google code.
>>
>> Would it be acceptable to rather link it with ITKCommon, which in  
>> turn
>> depends on the right vnl libs (system or itk ones)?
>>
>> [glehmann at marvin Insight]$ ldd build-debug/bin/libITKCommon.so | grep
>> vnl
>> 	libitkvnl_inst.so.3.15 => /home/glehmann/src/Insight/build-debug/ 
>> bin/
>> libitkvnl_inst.so.3.15 (0xb7c5b000)
>> 	libitkvnl_algo.so.3.15 => /home/glehmann/src/Insight/build-debug/ 
>> bin/
>> libitkvnl_algo.so.3.15 (0xb7b39000)
>> 	libitkvnl.so.3.15 => /home/glehmann/src/Insight/build-debug/bin/
>> libitkvnl.so.3.15 (0xb765d000)
>>
>> Regards,
>>
>> Gaëtan
>>
>
> OK, I will try an experimental build with :
>
> SET(WRAPPER_LIBRARY_LINK_LIBRARIES ITKCommon )
>
> instead of :
>
> SET(WRAPPER_LIBRARY_LINK_LIBRARIES itkvnl itkvnl_inst)
>
> in :
>
> Insight/Wrapping/WrapITK/Modules/VXLNumerics/CMakeLists.txt
>
>
>
> I see :
>
> [kevin at gargon Insight_build]$ ldd bin/libITKCommon.so | grep vnl
>        libitkvnl_inst.so.3.15 => /home/kevin/kitware/Insight_build/ 
> bin/libitkvnl_inst.so.3.15 (0x00007ff727e11000)
>        libvnl_algo.so => /home/kevin/kitware/vxl-build/lib/ 
> libvnl_algo.so (0x00007ff72752e000)
>        libvnl.so => /home/kevin/kitware/vxl-build/lib/libvnl.so  
> (0x00007ff726fb1000)
>
> and :
>
> [kevin at gargon Insight_build]$ ldd bin/libITKNumerics.so | grep vnl
>        libitkvnl_inst.so.3.15 => /home/kevin/kitware/Insight_build/ 
> bin/libitkvnl_inst.so.3.15 (0x00007f0b7c99e000)
>        libvnl_algo.so => /home/kevin/kitware/vxl-build/lib/ 
> libvnl_algo.so (0x00007f0b7c741000)
>        libvnl.so => /home/kevin/kitware/vxl-build/lib/libvnl.so  
> (0x00007f0b7c1c4000)
>
> Is it more or less correct to link to ITKNumerics?


I think ITKCommon is enough - ITKNumerics also depends on ITKCommon,  
so linking to ITKNumerics would trigger the load of both ITKNumerics  
and ITKCommon.

Gaëtan

-- 
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/mailman/private/insight-developers/attachments/20090610/de3cd48d/attachment.pgp>


More information about the Insight-developers mailing list