[Insight-developers] multiple shared ITK libraries on windows
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Mon Mar 21 15:15:23 EDT 2011
Le 21 mars 11 à 18:26, Bill Hoffman a écrit :
> On 3/21/2011 12:44 PM, Bill Lorensen wrote:
>> I have done nothing with wrapping and shared libs. I really don't
>> know
>> if you will have issues.
>>
>> I hope that I am close with the shared lib issue for the ITK proper.
>> Once that is merged, we can look at the wrapping issues.
>>
>> Bill
>
> It is possible that wrapping could have an issue. I agree it is too
> big for one library. We know modified time is an issue, so we
> should fix that first. The class with modified time has to be in a
> dll on windows for wrapping or plugins to work. There maybe other
> globals in vnl or other places in ITK that "could" cause problems.
> I guess the only way to know is to have good test coverage and see
> what breaks.
>
> Basically, each dll is just like an executable. It will fully
> resolve all the symbols it needs including any global variables
> found in a static library it is linking to.
>
> It maybe worth some effort to add declspec(dllexport) stuff to vnl.
> Looks like you can do it to template instances as well:
>
> http://support.microsoft.com/kb/168958
>
> With that done, we would be able to have all dll's and all would be
> good! :)
>
> For, now I think we just need to get the basic dll functionality
> back into ITK.
>
Sounds good to me.
Thanks,
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/20110321/ad1e8f1c/attachment.pgp>
More information about the Insight-developers
mailing list