[ITK] [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
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list