[vtkusers] financial.cpp

Jeremy Winston jbw at ieee.org
Wed Apr 20 08:38:44 EDT 2005


Game Player wrote:
> Hello all.  I have attempted to run the program financial.cpp, and the 
> following error appears:
>  
> Please define VTK_DATA_ROOT.
>  
> I looked within several folders, but unfortunately I've had no luck.  
> How do I define VTK_DATA_ROOT and where should it be located?

It's an environment variable, and how you set it
depends on what operating system you're using.


M$ Windows:
    Start-->Settings-->Control Panel-->System,
look for the Environment Variables button, or
fields (depending on which version of Windows).
Add a user variable VTK_DATA_ROOT with value
     C:\vtk-data
(or wherever you put your vtk-data files).
If you haven't downloaded the data files, do so
from
http://prdownloads.sourceforge.net/vtk/VTKData-4.2.zip?download


*nix:
    Edit the resource file of whatever shell you're
using (e.g., .bashrc, .cshrc, .kshrc, etc.), and
add a line
    VTK_DATA_ROOT=/path/vtk-data
or
    set VTK_DATA_ROOT=/path/vtk-data
or
    setenv VTK_DATA_ROOT /path/vtk-data

(depending on your shell, where /path/vtk-data
is wherever you put your vtk-data files).
If you haven't downloaded the data files, do so
from
http://prdownloads.sourceforge.net/vtk/VTKData-4.2.tar.gz?download


HTH,
-Jeremy



More information about the vtkusers mailing list