<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hello John,<br><br> 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 ?<br><br>Emma<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> John Drescher <drescherjm@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Emma Ryan <eryanvtk@yahoo.com>; Insight Users <insight-users@itk.org><br><b><span style="font-weight: bold;">Sent:</span></b> Thu, September 9, 2010 2:08:28 PM<br><b><span
style="font-weight: bold;">Subject:</span></b> Re: [Insight-users] ITKCommon.dll not created in ITK 3.20 with VS 2008<br></font><br>
> I recently downloaded ITK 3.20 version and configured it with cmake_gui<br>> version on windows 7. After generating, I built the ITK solution file. It<br>> only created the ITKcommon.idb and .lib files. Previously with itk 3.16 I<br>> had also found a ITKCommon.dll along with .lib files.<br>><br>> I need the .dll. How can I generate this ?<br><br>Turn on BUILD_SHARED_LIBS<br><br>in cmake-gui<br><br>then rebuild.<br><br>> Is there a configuration issue<br>> in cmake ? or should I manually change the ITKCommon projects settings to<br>> "dynamically loaded library" ?<br>><br>Never set any Visual Studio project settings when using CMake. They<br>will be lost on the next time CMake is run.<br><br>John<br></div></div>
</div><br>
</body></html>