[Insight-developers] VXL + WrapITK for Farsight

Kevin H. Hobbs hobbsk at ohiou.edu
Wed Jun 10 09:36:03 EDT 2009


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090610/136fb69f/attachment.pgp>


More information about the Insight-developers mailing list