[Insight-users] package require ConnectVTKITK

Ocean Spring meancity at gmail.com
Thu Sep 6 07:38:14 EDT 2007


hello Luis and all,

when i try to run CannyEdgeDetectionImageFilterConnectVTKITK.tcl

some error returns as below:
 ===============
C:\Documents and Settings\panz>tclsh C:\InsightToolkit-
3.2.0\Examples\Visualizat
ion\CannyEdgeDetectionImageFilterConnectVTKITK.tcl
Loading VTK package 5.0
Loading InsightToolkit 3.2
can't find package ConnectVTKITK
    while executing
"package require ConnectVTKITK"
    invoked from within
"puts "Loading ConnectVTKITK [package require ConnectVTKITK]""
    (file "C:\InsightToolkit-
3.2.0\Examples\Visualization\CannyEdgeDetectionImag
eFilterConnectVTKITK.tcl" line 19)
=================================

but in the TCLLIBPATH i have included the
C:/InsightApplications/ConnectVTKITK/Release
so i went into that directory and check the pkgIndex.tcl and i found it
requires some share library file which named ConnectVTKITKTcl.dll  but i can
not find any .dll file inside the very folder. and i did a search on "
ConnectVTKITKTcl.dll" i found it located in

C:/InsightApplications/VolviewPlugIns/bin/Release

rather than

C:/InsightApplications/ConnectVTKITK

so i changed a line inside the pkgIndex.tcl code

change
set libPath "C:/InsightApplications/ConnectVTKITK"
to
set libPath "C:/InsightApplications/VolviewPlugIns/bin/Release"

then the code can go through.


here i just want to have someone to clarify what i did above is decent or
not.

thank you

yours

O.Spring.



-- 
---------
www.vislab.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070906/4e5b703f/attachment.html


More information about the Insight-users mailing list