[Insight-developers] building DLL with MSVC

Luis Ibanez luis . ibanez at kitware . com
Thu, 21 Aug 2003 13:09:06 -0400


Just for the record,
The nightly build VC6.0 on "terminus.kitware" has
SHARED enabled, as well as Python wrapping enabled.


   Luis

---------------------------
Bill Hoffman wrote:
> This is by design.   Most of the other libraries are all templates, so
> dll's don't do any good.   Common contains some global variables like
> mtime, that can not be linked static.   So, you can no create dll's for
> plugins, or wrapping that link to ITKCommon as a dll, and the rest of
> ITK as static, and it will work.
> 
> -Bill
> 
> 
> At 12:49 PM 8/21/2003, Lydia Ng wrote:
> 
> 
>>Sorry, I've lost track of this issue - but
>>is it possible to build shared libraries (DLL) for ITK in MSVC?
>>
>>I tried yesterday by setting BUILD_SHARED_LIB to true - but the only
>>effect was to make the ITKCommon library SHARED and all other libraries
>>are still static. Is this by design?
>>
>>Thanks,
>>Lydia
>>
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers at itk . org
>>http://www . itk . org/mailman/listinfo/insight-developers 
> 
> 
> 
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk . org
> http://www . itk . org/mailman/listinfo/insight-developers
>