<!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>ITK and Tcl</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<P><FONT SIZE=2>I have been having the worst time setting up ITK and Tcl on Windows 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 Variable TCLLIBPATH to include any directory I thought might help, 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/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 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.</FONT></P>
</BODY>
</HTML>