<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 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hello John,<br><br>I do not use cmake to build my application.<br><br>I create 'A.lib' which statically links all the necessary ITK '.libs'. <br>'B.dll' statically links to 'A.lib' and <br>'C.exe ' does a loadLibrary on 'B.dll'<br><br>I never did a dynamic link of ITK libs, but since my application popped up a message " Failed coz itkCommon.dll" is missing", I provided the dll in the System32.&nbsp; I never did a LoadLibrary of ITK dlls.<br><br>I did however build my previous ITK (3.16) with shared libs 'ON'. <br><br>My latest itk (3.20) did not have Shared libs 'ON'.&nbsp;&nbsp; And I was linking statically, but still I got the error message for itkCommon.dll.<br><br>Emma<br><br><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 &lt;drescherjm@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Emma Ryan &lt;eryanvtk@yahoo.com&gt;; Insight Users &lt;insight-users@itk.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, September 9, 2010 3:01:37 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>
&gt; &nbsp; Thank you for your reply. You are right. I should have turned that on.&nbsp; On<br>&gt; another note, if I am linking ITK as a static lib, then why does my<br>&gt; application "fail to start", because ITKCommon.dll was not found ?<br>&gt;<br><br>Did you have it linked dynamically in the past? Are you using CMake to<br>build your application?<br><br>John<br></div></div>
</div><br>

      </body></html>