<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Are you trying to run the exe through
Visual Studio ?<br>
<br>
I don't have any shared build of ITK within reach, but from what I
remember, Visual runs the exe from the build folder, which means
the exe looks for the library in the root of the build folder. Try
running your executable manually from the bin/ folder (of from the
folder containing the library, which may be lib/).<br>
<br>
Another solution is to copy the library in the bin/ folder and
manually run the exe from bin/.<br>
<br>
I'm sure there is an option in Visual allowing you to change the
folder from which your executable is launched, but you'll have to
look for it.<br>
<br>
Cyrille<br>
<br>
Le 29/11/2012 08:41, Tabassum Husain a écrit :<br>
</div>
<blockquote cite="mid:BLU155-W383013AC4520E8C2F4B037C35C0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
Hi ITK users,
<div><br>
</div>
<div>I am using visual studio 2008 to build ITK programs. Its
making exe but while running it following error occurred:</div>
<div><br>
</div>
<div><b>The Program can't start because ITKCommon-4.2.dll is
missing from your computer. Try reinstalling the program to
fix this problem.</b></div>
<div><br>
</div>
<div>I build ITK again and checked in bin folder there is
ITKCommon-4.2.dll present but while running exe its showing
same error.</div>
<div>I copied that dll in same directory then it is working but
it is not solution for me to each time in a new project i copy
that dll to folder. </div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">Before this I was working
with MinGW compiler to build ITK but it was giving error
with same lib file in build. So I switched to MSVC to build.</span></div>
<div>Is this lib file having some problem?</div>
<div><br>
</div>
<div>Please suggest me solution.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Tabbu</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_____________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Kitware offers ITK Training Courses, for more information visit:
<a class="moz-txt-link-freetext" href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a>
Please keep messages on-topic and check the ITK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
</pre>
</blockquote>
<br>
</body>
</html>