[ITK-users] Link ITK libraries statically

Gib Bogle g.bogle at auckland.ac.nz
Wed May 20 17:06:59 EDT 2015


Thanks John.  I think I knew this once...
Considering that in some situations I will want to use the DLLs, overall it might be simpler to stick with what I have and copy the DLLs.

Cheers
Gib
________________________________________
From: John Drescher [drescherjm at gmail.com]
Sent: Thursday, 21 May 2015 9:00 a.m.
To: Gib Bogle; Insight-Users
Subject: Re: [ITK-users] Link ITK libraries statically

> I'm talking about building my application, hence my confusion.
>
> I observe that when BUILD_SHARED_LIBS is ticked in the ITK build both .dlls and .libs are built. Am I missing something?

The .libs built are import libraries needed for the dlls not static
libraries. You need to rebuild ITK with BUILD_SHARED_LIBS off.

John


More information about the Insight-users mailing list