[vtkusers] can't find package vtk (binary installer)

Ocean Spring meancity at gmail.com
Mon Oct 24 07:17:45 EDT 2011


Dear All,

i have a problem when i install vtk using Kitware binary installer
after installation, i set the environment variable TCLLIBPATH to "C:/Program
Files/VTK 5.8.0/lib/vtk-5.8"
where there is a pkgIndex.tcl. but the error is still there.

then i did something in tclsh
% source cone.tcl
can't find package vtk
% source {C:\Program Files\VTK 5.8.0\lib\vtk-5.8\pkgIndex.tcl}
% source cone.tcl
couldn't load library "C:/Program Files/VTK 5.8.0/bin/vtkCommonTCL.dll":
this library or a dependent library could not be found in library path
attempt to provide package vtkCommonTCL 5.8 failed: no version of package
vtkCommonTCL provided
attempt to provide package vtkcommon 5.8 failed: no version of package
vtkcommon provided
attempt to provide package vtk 5.8 failed: no version of package vtk
provided

it seems that the kitware's binary installer does not contain any .dll file
needed.

so can someone tell me a way that run vtk's tcl code in tclsh rather run it
using vtk.exe
when developers use kitware's binary installer?

i have no problem to compile VTK from source and run vtk's tcl codes using
tclsh though

one thing need to confirm is that... if users choose to use kitware's binary
install, they HAVE TO
use vtk.exe to run vtk's tcl code?

it is an old topic but i still want to know in detail. if anyone knows what
exactly to do, please
enlighten me.


thank you

regards

O.S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111024/23d08817/attachment.htm>


More information about the vtkusers mailing list