[Insight-developers] Shared library question

Bill Lorensen bill.lorensen at gmail.com
Sat Aug 15 12:56:26 EDT 2009


This is true.

On Sat, Aug 15, 2009 at 12:55 PM, Luis Ibanez<luis.ibanez at kitware.com> wrote:
> Hi Bill,
>
> A Visual Studio build of ITK, with Shared Libs ON
> will only produce one .dll:
>
>                  ITKCommon.dll
>
>
>      Luis
>
>
> -------------------------------------------------------------------------------------
> On Thu, Jul 30, 2009 at 10:03 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
>>
>> 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
>> >
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.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
>
>


More information about the Insight-developers mailing list