[Insight-users] ITKCommon-4.2.dll is missing while running exe
Cyrille Faucheux
cyrille.faucheux at etu.univ-tours.fr
Fri Nov 30 08:37:00 EST 2012
Are you trying to run the exe through Visual Studio ?
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/).
Another solution is to copy the library in the bin/ folder and manually
run the exe from bin/.
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.
Cyrille
Le 29/11/2012 08:41, Tabassum Husain a écrit :
> Hi ITK users,
>
> I am using visual studio 2008 to build ITK programs. Its making exe
> but while running it following error occurred:
>
> *The Program can't start because ITKCommon-4.2.dll is missing from
> your computer. Try reinstalling the program to fix this problem.*
>
> I build ITK again and checked in bin folder there is ITKCommon-4.2.dll
> present but while running exe its showing same error.
> 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.
>
> 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.
> Is this lib file having some problem?
>
> Please suggest me solution.
>
> Thanks,
> Tabbu
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121130/13047eb7/attachment.htm>
More information about the Insight-users
mailing list