KWWidgets/Projects/3DWidgets/Part2/Widgets/VTKW

From KitwarePublic
Revision as of 08:32, 4 January 2007 by Xavor (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Installing VTK on a Windows System

Windows Logo

Downloads Required

Install CMake

Follow the wizard instructions of the downloaded installation file.

Install MinGW

Follow the wizard instructions of the downloaded installation file.

Install WinCVS

Follow the wizard instructions of the downloaded installation file.

Download VTK

Launch the installed WinCVS. To begin with, set the installation directory,

Admin -> Preferences

CVS Command 1 Type in the desired installation directory and click “OK”.

Next, we need to connect to the CVS repository.

Admin->Command Line

CVS Command 1

Type in

cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/VTK

login and click “OK”, respond to the demand for a password with “vtk”.

Finally, we need to download the CVS version of vtk.

Admin->Command Line CVS Command 2

Type in

cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/VTK checkout VTK login

and click “OK”.

Compiling

In a command window, type

cmakesetup .

CMakeSetup

cmake .

CMake

Lastly, you need to call the C++ compiler, as I used MinGW, the actual executable to call is mingw32-make.exe so I made a batch file to make it simpler 8)

make

Make