[Insight-developers] multiple shared ITK libraries on windows

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Mar 17 09:22:06 EDT 2011


Will we have the vnl problem with wrapping?
With wrapping, there will be as much libs as there are modules.


Le 17 mars 11 à 01:27, Bill Hoffman a écrit :

> On Wed, Mar 16, 2011 at 6:24 PM, Bill Lorensen <bill.lorensen at gmail.com 
> > wrote:
>> Here's a question.
>>
>> In old ITK, there were 15 shared libraries. Because of vnl
>> limitations, Bill Hoffman says there should only be 8 (my calculation
>> and ITKCommon is the only one that is core ITK). With ITK modular
>> there are potentially 45 (my calculation, not counting tests) shared
>> libs. Supporting shared libs on windows platforms requires special
>> magic.
>>
>> Should we build any shared libs in ITK modular on windows platforms?
>> Is the maintenance burden too high?
>>
>
> Prior to change 419, there was only one shared library ITKCommon in
> ITK on windows. Since that change was in ITKv4, I would hardly call it
> old ITK (maybe 4 month old itk...)....  :)
>
> Anyway, without figuring out how to make vnl shared, I don't think
> that we can safely have more than one dll in ITK.  Dll's are an all or
> nothing type of thing. I think I remember why this was done in the
> first place. The main driving force for the original ITKCommon being
> shared was so that plugins could be done for VolView.  With all static
> ITK, the trouble was that each plugin got its own copy of the modified
> time class static from ITKObject.  This of course totally broke the
> pipeline.  So, I think that we should have one ITK dll as we did in
> the past, and it should be the one that contains the static for
> modified time.  That way plugin type applications can still be created
> against ITK.  I will also investigate making vnl shared, but that
> maybe too hard...
>
> -Bill
> _______________________________________________
> 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

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


More information about the Insight-developers mailing list