[Insight-developers] ITK4 modular @ elastix

Bill Lorensen bill.lorensen at gmail.com
Tue Mar 29 12:12:47 EDT 2011


You should use ${ITK_LIBRARIES}. In fact all apps should have been using
this right along rather that individual libs.


On Tue, Mar 29, 2011 at 11:52 AM, <M.Staring at lumc.nl> wrote:

> Hi ITK modular developers,
>
> I have some questions about linking to the new modular ITK4 libraries.
>
> We have a separate branch of our software elastix where we try to keep up
> with the changes in ITK4. Up till now that was not too difficult, so thanks
> for that!
> Since the transition to modular ITK the names of the target link libs
> changed. For example
>
> TARGET_LINK_LIBRARIES( elastix ITKCommon ITKBasicFilters )
>
> does not work anymore.
> I figured out that e.g. ITKCommon now is called ITK-Common (and it may not
> be exactly the same thing). For ITKBasicFilters there is no
> ITK-BasicFilters, so what I did was parse through the ITK Modules tree and
> pick what we need in elastix, looking in the itk-module.cmake files.
>
> 1) Does someone have a list of what libraries in ITK3 map to what libraries
> in ITK4 ?
> 2) Would it be a good idea to define libs with the same names as in ITK3
> that encompass the correct ITK4 submodules ?
>
> I also noticed that while with ITK3 we could use ITKIO to link against all
> IO's available, in ITK4 we have to do it one by one.
>
> 3) Is it possible to create an ITK-IO super lib in ITK4 that groups all IO
> libs, so that we can link against all IO's at once ?
>
> A last thing: when running elastix we now get the error that the
> itksys-4.0.dll is missing from my system. It used to come automatically with
> I think ITKCommon, and I see in ITK/Modules/Core/Common that it DEPENDS on
>  ITK-KWSys.
>
> 4) Do I have to do something extra now to link this lib into elastix, or
> should it come with ITK-Common-4.0.lib ?
> (in other words: do we need to change something, or does something need to
> be changed in ITK4?)
>  kwsys used to be hidden from the user.
>
>
> I appreciate all the efforts that are made with the new ITK4. I'm also not
> in a hurry to getting this fixed. Just trying to understand what is changing
> for our software, and making sure these issues are noticed.
>
> With kind regards,
>
> Marius
>
> Marius Staring, PhD
> Division of Image Processing (LKEB)
> Department of Radiology
> Leiden University Medical Center
> PO Box 9600, 2300 RC Leiden, The Netherlands
> phone: +31 (0)71 526 1106, fax: +31 (0)71 526 6801 m.staring at lumc.nl
>
>
> _______________________________________________
> 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://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-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110329/252da9a0/attachment.htm>


More information about the Insight-developers mailing list