[Insight-developers] Converting ITK's ImageIO libraries to shared

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Jun 3 10:26:40 EDT 2013


Hello,

What are the possible problem what we will encounter if we convert ITK's ImageIO modules to be shared libraries on Windows? And manage the gcc exported symbols why we are at it?

Performing the factory registration of ImageIO factory objects during static initialization in static libraries is fill with problems and tricky behaviors and is problematic for large applications to manage. By making these libraries shared the ImageIO factory objects should be unique and consistent across different libraries which use ITK, so that they will not get registered multiple times. Additionally, by explicitly specifying the exported symbols on gcc this should help to reduce the library size.

Thanks for you thoughts,
Brad


More information about the Insight-developers mailing list