<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [Insight-users] ITK and Tcl</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>ITK_CSWIG_TCL On<BR>
USE_WRAP_ITK Off<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Gaëtan Lehmann [<A HREF="mailto:gaetan.lehmann@jouy.inra.fr">mailto:gaetan.lehmann@jouy.inra.fr</A>]<BR>
Sent: Wed 7/18/2007 3:02 PM<BR>
To: Taclas,Jason E. (BIDMC - Cardiology)<BR>
Cc: insight-users@itk.org<BR>
Subject: Re: [Insight-users] ITK and Tcl<BR>
<BR>
<BR>
Le 18 juil. 07 à 20:27, jtaclas@bidmc.harvard.edu a écrit :<BR>
<BR>
> I used cvs to check out the latest ITK and CableSwig, and built <BR>
> them together with Tcl wrapping.<BR>
<BR>
Have you used WRAP_ITK_TCL or ITK_CSWIG_TCL ?<BR>
<BR>
> I'm mostly wondering why my scripts look for dll files in a non-<BR>
> existent 'release' directory, instead of the 'debug' directory the <BR>
> dlls are found after I build ITK. Simply making a 'release' <BR>
> directory and copying over the necessary dlls works; I'm still <BR>
> learning about ITK and Tcl so my scripts are all simple. I'm <BR>
> really just wondering if there is some setting in CMake that all of <BR>
> the various installation instruction websites have missed that <BR>
> causes me to only have a debug directory and no release directory.<BR>
<BR>
Have you installed itk, or are you using it from the build directory ?<BR>
<BR>
Please give us those informations, so we can try to help.<BR>
<BR>
Regards,<BR>
<BR>
Gaëtan<BR>
<BR>
<BR>
><BR>
><BR>
> -----Original Message-----<BR>
> From: Gaëtan Lehmann [<A HREF="mailto:gaetan.lehmann@jouy.inra.fr">mailto:gaetan.lehmann@jouy.inra.fr</A>]<BR>
> Sent: Wed 7/18/2007 12:59 PM<BR>
> To: Taclas,Jason E. (BIDMC - Cardiology)<BR>
> Cc: insight-users@itk.org<BR>
> Subject: Re: [Insight-users] ITK and Tcl<BR>
><BR>
><BR>
> Hi,<BR>
><BR>
> Are you using wrapitk?<BR>
> Have you installed ITK?<BR>
><BR>
> Regards,<BR>
><BR>
> Gaëtan<BR>
><BR>
><BR>
> Le 13 juil. 07 à 17:36, jtaclas@bidmc.harvard.edu a écrit :<BR>
><BR>
> ><BR>
> > I have been having the worst time setting up ITK and Tcl on Windows<BR>
> > XP. I finally managed to avoid the error<BR>
> ><BR>
> > can't find package InsightToolkit<BR>
> > while executing<BR>
> > "package require InsightToolkit"<BR>
> ><BR>
> > which had been plaguing my efforts, by adjusting the environmental<BR>
> > Variable TCLLIBPATH to include any directory I thought might help,<BR>
> > and by using / instead of \, and spaces instead of ;.<BR>
> ><BR>
> > Now I have a bit of confusion; I get the error<BR>
> ><BR>
> > couldn't change working directory to "C:/ITK/Insight_BIN/bin/<BR>
> > Release": no such file or directory<BR>
> > while executing<BR>
> > "cd {C:/ITK/Insight_BIN/bin/Release}"<BR>
> > (in namespace eval "::itk::loader" script line 3)<BR>
> > invoked from within<BR>
> > "namespace eval ::itk::loader {<BR>
> > set curDir [pwd]<BR>
> > cd {C:/ITK/Insight_BIN/bin/Release}<BR>
> > if {[catch { load "C:/ITK/Insight_BIN/bin/..."<BR>
> > ("package ifneeded" script)<BR>
> > invoked from within<BR>
> > "package require vxlnumericstcl 3.2"<BR>
> > ("package ifneeded" script)<BR>
> > invoked from within<BR>
> > "package require itknumerics 3.2"<BR>
> > ("package ifneeded" script)<BR>
> > invoked from within<BR>
> > "package require InsightToolkit"<BR>
> > (file "ImageRegistration3.tcl" line 19)<BR>
> ><BR>
> > which appears to stem from the absence of a "Release folder" in my<BR>
> > ITK binaries 'bin' directory. I could copy the necessary dll files<BR>
> > from the Debug directory in that 'bin' directory, but my intuition<BR>
> > tells me that course of action would be a band-aid solution for a<BR>
> > problem I might benefit from having a better understanding of.<BR>
> ><BR>
> > _______________________________________________<BR>
> > Insight-users mailing list<BR>
> > Insight-users@itk.org<BR>
> > <A HREF="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</A><BR>
><BR>
> --<BR>
> Gaëtan Lehmann<BR>
> Biologie du Développement et de la Reproduction<BR>
> INRA de Jouy-en-Josas (France)<BR>
> tel: +33 1 34 65 29 66 fax: 01 34 65 29 09<BR>
> <A HREF="http://voxel.jouy.inra.fr">http://voxel.jouy.inra.fr</A><BR>
><BR>
><BR>
><BR>
><BR>
><BR>
<BR>
--<BR>
Gaëtan Lehmann<BR>
Biologie du Développement et de la Reproduction<BR>
INRA de Jouy-en-Josas (France)<BR>
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09<BR>
<A HREF="http://voxel.jouy.inra.fr">http://voxel.jouy.inra.fr</A><BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>