[Insight-developers] Shared library question

Bill Lorensen bill.lorensen at gmail.com
Thu Jul 30 10:03:43 EDT 2009


Tom,

Did you build successfully? If so, I'll close the bug.

I'm not sure why we only get one dll for Visual Studio projects.

Maybe someone else can comment.

Bill

On Thu, Jul 30, 2009 at 9:23 AM, Tom Vercauteren<tom.vercauteren at m4x.org> wrote:
> Hi Bill,
>
> I just saw your recent activity on an old shared lib bug:
> http://public.kitware.com/Bug/view.php?id=6724
>
> First of all, thanks for taking care of this!
>
> This reminded me of a somewhat related question that bugged me some
> time ago. Why is it that on windows (at least with visual studio) when
> we enable shared libs in ITK, we end up with only one dll (cf.
> http://www.itk.org/pipermail/insight-users/2008-June/026139.html )
> whereas we have several on linux?
>
> Is this related to the ITK_EXPORT macro? My basic understanding is
> that visual c++ requires one specific export/import macro per dll but
> ITK only uses ITKCommon_EXPORT, cf.
> http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkWin32Header.h?root=Insight&sortby=date&view=markup
>
> Regards,
> Tom
>


More information about the Insight-developers mailing list