KWWidgets/Projects/3DWidgets/Part2/Widgets/VTKW: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 36: Line 36:
[[Image:3D_Widgets_Part_2_Windows_cvs1.png|300px|CVS Command 1]]  
[[Image:3D_Widgets_Part_2_Windows_cvs1.png|300px|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”.
Type in <pre>cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/VTK</pre> login and click “OK”, respond to the demand for a password with “vtk”.
Finally, we need to download the CVS version of vtk.
Finally, we need to download the CVS version of vtk.


Admin->Command Line
Admin->Command Line
[[Image:3D_Widgets_Part_2_Windows_cvs2.png|300px|CVS Command 2]]  
[[Image:3D_Widgets_Part_2_Windows_cvs2.png|300px|CVS Command 2]]  
Type in “cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/VTK checkout VTK” login and click “OK”.
Type in <pre>cvs -d :pserver:anonymous@public.kitware.com:/cvsroot/VTK checkout VTK login</pre> and click “OK”.


=== Compiling ===
=== Compiling ===

Latest revision as of 08:32, 4 January 2007

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