[Insight-users] Build Problems - Windows

Luis Ibanez luis.ibanez at kitware.com
Fri, 30 Apr 2004 17:02:30 -0400


Hi Michael,

When you said that you HelloWord application cannot find ITKCommon.dll,
do you mean that you are getting "unresolved erros" at link time ?

or you mean that you get the application to build, but when you try to
run it you get a message saying tha ITKCommon.dll has not been found  ?

If you are in the second case, the reason is simply that DLLs must be
in your Windows PATH, or they must be in the same directory where your
application resides.

If you are using Windows XP, simply go to "Control Panel", select
"System", take the "Advanced" tab, click on the button "Environment
Variables" on the bottom, select "PATH" and add the full directory
where you have your ITK .dlls.


Please let us know if you continue experiencing any problems,


   Thanks



     Luis



--------------------------
Michael Hawrylycz wrote:

> Luis,
>  
>  I'm starting to wonder if I've got something really corrupted.  I have 
> both debug and release configurations built,  and even my little HelloWorld
> app can't find ITKCommon.dl.   My configuration looks like this:  ITK 
> binaries are in C:\ITK\ITKBin\bin\release .  The ITKConfig.cmake
> file is two directories above that in C:\ITK\ITKBin.  My HelloWorld is 
> in C:\ITK\ITKBin\ITKTest.  I already tried it in more logical
> place but failed there.   When I run Cmake it does show as a requested 
> parameter ITK_DIR which it defaults to C:\ITK\ITKBin.  I tried
> moving ITKConfig.cmake down one level and redirecting ITK_DIR but I get 
> the same missing ITKCommon dll.  I know this
> is an unapproved action but I'm just trying to figure it out....
>  
> Thanks,
>  
> Mike
>  
> 
> Mike Hawrylycz, Ph.D.
> Director, Informatics
> Allen Institute of Brain Science
> mikeh at alleninstitute.org
> (206) 548-7011
> 
>