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