[vtkusers] error::can't find package vtk
Emiliano Beronich
emiliano at veccsa.com
Tue Apr 27 17:19:16 EDT 2004
Hi Varshini,
You can install the binary version of vtk and avoid the problems of
compiling VTK with TCL. May be you can try to compile everything after
solving these troubles. So intall TCL and the binary files of VTK.
If you are under a Windows platform, you need to be sure that some
environment variables are defined.
TCLLIBPATH=
C:\Archivos de programa\vtk42\lib\vtk\tcl;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtk;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkbase;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkcommon;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkfiltering;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkgraphics;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkhybrid;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkimaging;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkinteraction;;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkio;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkparallel;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkpatented;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtkrendering;C:\Archivos de
programa\vtk42\lib\vtk\tcl\vtktesting
Path=
C:\Archivos de programa\tcl8.3\bin;C:\Archivos de programa\vtk42\bin
VTK_DATA_ROOT=
it must point to the directory where you have installed the vtk files
data. This is needed for some script of vtk asking for a data file.
Of course, you need to adapt the text to the right path for your case.
Then, run vtk.exe with the file you want as a parameter, i.e:
vtk.exe cone.tcl
I hope this can be of help.
Regards,
Emiliano
varshini varshini wrote:
> Hi all,
>
> I am trying to get vtk run in Tcl.But I keep getting this error " can't
> find package vtk while executing pacage require vtk"
>
> is there a seperate option to add the vtk package to tcl?... can someone
> please point me in the right direction of how to get these working?
>
> While doing CMake I was getting error as not able to find the path for
> TK_XLIBPATH
> TCL_INCLUDE_PATH
> TK_INCLUDE_PATH
>
> I tried to set the path manually , but I was not able to find the
> ../tcl/include folder. I tried following the instruction in
>
> http://www.imm.dtu.dk/pubdb/views/edoc_download.php/502/pdf/imm502.pdf
>
> Am I going wrong somewhere?Can someone please point me in the right
> direction.
>
> Thanks in advance,
>
> varshini
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now!
> http://toolbar.msn.com/go/onm00200415ave/direct/01/
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list