[Insight-users] ITKCommon.dll not created in ITK 3.20 with VS 2008

Emma Ryan eryanvtk at yahoo.com
Thu Sep 9 17:57:41 EDT 2010


Hello John,

  Thank you for your reply. You are right. I should have turned that on.  On 
another note, if I am linking ITK as a static lib, then why does my application 
"fail to start", because ITKCommon.dll was not found ?

Emma




________________________________
From: John Drescher <drescherjm at gmail.com>
To: Emma Ryan <eryanvtk at yahoo.com>; Insight Users <insight-users at itk.org>
Sent: Thu, September 9, 2010 2:08:28 PM
Subject: Re: [Insight-users] ITKCommon.dll not created in ITK 3.20 with VS 2008

>   I recently downloaded ITK 3.20 version and configured it with cmake_gui
> version on windows 7. After generating, I built the ITK solution file. It
> only created the ITKcommon.idb and .lib files. Previously with itk 3.16 I
> had also found a ITKCommon.dll along with .lib files.
>
> I need the .dll. How can I generate this ?

Turn on BUILD_SHARED_LIBS

in cmake-gui

then rebuild.

> Is there a configuration issue
> in cmake ?  or should I manually change the ITKCommon projects settings to
> "dynamically loaded library" ?
>
Never set any Visual Studio project settings when using CMake. They
will be lost on the next time CMake is run.

John



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100909/e8874e91/attachment.htm>


More information about the Insight-users mailing list