[Insight-users] ITK and Tcl

jtaclas at bidmc.harvard.edu jtaclas at bidmc.harvard.edu
Wed Jul 18 14:27:34 EDT 2007


I used cvs to check out the latest ITK and CableSwig, and built them together with Tcl wrapping.  I'm mostly wondering why my scripts look for dll files in a non-existent 'release' directory, instead of the 'debug' directory the dlls are found after I build ITK.  Simply making a 'release' directory and copying over the necessary dlls works; I'm still learning about ITK and Tcl so my scripts are all simple.  I'm really just wondering if there is some setting in CMake that all of the various installation instruction websites have missed that causes me to only have a debug directory and no release directory.


-----Original Message-----
From: Gaëtan Lehmann [mailto:gaetan.lehmann at jouy.inra.fr]
Sent: Wed 7/18/2007 12:59 PM
To: Taclas,Jason E. (BIDMC - Cardiology)
Cc: insight-users at itk.org
Subject: Re: [Insight-users] ITK and Tcl
 

Hi,

Are you using wrapitk?
Have you installed ITK?

Regards,

Gaëtan


Le 13 juil. 07 à 17:36, jtaclas at bidmc.harvard.edu a écrit :

>
> I have been having the worst time setting up ITK and Tcl on Windows  
> XP.  I finally managed to avoid the error
>
> can't find package InsightToolkit
>     while executing
> "package require InsightToolkit"
>
> which had been plaguing my efforts, by adjusting the environmental  
> Variable TCLLIBPATH to include any directory I thought might help,  
> and by using / instead of \, and spaces instead of ;.
>
> Now I have a bit of confusion; I get the error
>
> couldn't change working directory to "C:/ITK/Insight_BIN/bin/ 
> Release": no such file or directory
>     while executing
> "cd {C:/ITK/Insight_BIN/bin/Release}"
>     (in namespace eval "::itk::loader" script line 3)
>     invoked from within
> "namespace eval ::itk::loader {
>         set curDir [pwd]
>         cd {C:/ITK/Insight_BIN/bin/Release}
>         if {[catch { load "C:/ITK/Insight_BIN/bin/..."
>     ("package ifneeded" script)
>     invoked from within
> "package require vxlnumericstcl 3.2"
>     ("package ifneeded" script)
>     invoked from within
> "package require itknumerics 3.2"
>     ("package ifneeded" script)
>     invoked from within
> "package require InsightToolkit"
>     (file "ImageRegistration3.tcl" line 19)
>
> which appears to stem from the absence of a "Release folder" in my  
> ITK binaries 'bin' directory.  I could copy the necessary dll files  
> from the Debug directory in that 'bin' directory, but my intuition  
> tells me that course of action would be a band-aid solution for a  
> problem I might benefit from having a better understanding of.
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users

--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070718/ec407efd/attachment.htm


More information about the Insight-users mailing list