KWWidgets/Projects/3DWidgets/Part2/Widgets/VTK
Setting up
The latest CVS version of VTK may require the latest version of CMake - if your version isn't the latest, compiling VTK will likely give an error that will note the minumum required version of CMake.
- CVS
- CMake
Installing and Compiling
- CMake
Installing by CMake's included instructions may not always be simple. Some downloads include installation scripts and others may be just the usable files.
If there are no scripts in the downloaded archive, you will need to copy the files to the /usr/local directory with superuser privileges.
- VTK
In a terminal window, change to the VTK install directory.
[pre]ccmake .[/pre]
In the screen shown, pressing "c" will commence the configuration. If the vtk installation directory is not in your system's path, there will be at leat one error shown - press "e" to go back to the previous screen. Here you will need to scroll down with the cursor keys to the VTK_LOCAL_PATH and press "Return" to edit the data.
[pre]cmake .[/pre]
[pre]make[/pre]