[vtkusers] vtk40 Tcl Examples problem

forzakim forzakim at yahoo.co.jp
Wed Jan 23 23:12:42 EST 2002


Hi,
An error occurs when I execute an example of Tcl.
For example,

D:\vtk40\Examples\Annotation\Tcl\cubeAxes.tcl

ERROR: In C:\martink\vtk40\VTK\IO\vtkBYUReader.cxx, line 111
vtkBYUReader (0x02147F70): Geometry file: D:\PROGRA~1\vtk40
Wrapping\Tcl\vtkbase\..\..\..\..\VTKData/Data/teapot.g not found

ERROR: In C:\martink\vtk40\VTK\Graphics\vtkPolyDataNormals.cxx, line 111
vtkPolyDataNormals (0x02146F40): No data to generate normals for!

Can execute it when I change a script.

vtkBYUReader fohe
    fohe SetGeometryFileName "$VTK_DATA_ROOT/Data/teapot.g"

vtkBYUReader fohe
    fohe SetGeometryFileName "D:/vtk40data/Data/teapot.g"

All the examples to read data of an example are so.
Where does a $VTK_DATA_ROOT variable set it?

Thanks in advance,
forzakim

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/




More information about the vtkusers mailing list