Home
> Tutorial > Install
Libraries on Windows > Download
and Install Insight
Download Insight
(ITK) from CVS Server
Launch WinCVS
(If you don't have wincvs click here)
Specify your
$LibDir directory in View > Browse Location > Change ... menu
Login to the
ITK CVS server by clicking on Admin > Login menu

Now you have to setup the connexion parameters
To do that there are 2 options:
1.You can directly
enter the following command line to the CVSROOT input field:
:pserver;username=anoncvs;hostname=www.itk.org:/cvsroot/Insight
2. Click on the
wizard connexion button
And then enter
the following parameters:
then click on OK.
The program will ask you for a password, just leave it blank and click on
OK
You should have a message like that in the status window:
***** CVS exited normally with code 0 *****
Now you are logged to the ITK CVS server and you can checkout (download) Insight
library, Right click on the Lib directory in the tree viewer and select Checkout
module ... menu

You have
to select which module you want to download: Here, Insight and don't
forget to check 'CVSROOT' and select the correct CVSROOT you want.
Then click on
OK and this will download Insight.
Compile Insight
(ITK)
Run CMake and select the $LibDir/Insight
directory as 'Where is the source code'
Put the same path + "-VC++" (like Visual C++) as 'Where to build
the binaries'
Be sure that 'Visual Studio 6' is selected.

Click on Configure,
CMake will ask you to create the Insight-VC++ folder

Put setup parameters exactly like that:
- BUILD_EXAMPLES
= OFF
- BUILD_TESTING
= OFF
Click one again on 'Configure' and then click on 'OK'. This will generate
a Visual C++ project (*.dsw) in $LibDir/Insight-VC++.
Launch $LibDir/Insight-VC++/Insight.dsw and compile in RelWithDebInfo mode.
To do that, right click on the menu and check 'Build',
you can also uncheck 'Build MiniBar'.

Then select 'RelWithDebInfo'.
Start Compilation with ALL_BUILD
![]()