Download and Install InsightApplications

Home > Tutorial > Install Libraries on Windows > Download and Install InsightApplications

Download InsightApplications 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:InsightApplications and don't forget to check 'CVSROOT' and select the correct CVSROOT you want.

Then click on OK and this will download InsightApplications.

Compile InsightApplications

    Run CMake and select the $LibDir/InsightApplications 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 VTK-VC++ folder

  Put setup parameters exactly like that:
- BUILD_TESTING = OFF
- ITK_DIR = $LibDir/Insight-VC++
- USE_FLTK = ON

- USE_VTK = ON



    Click one again on 'Configure', You will have to Specify FLTK libraries and Fluid executable path.
VTK binary path should be automatically detected, otherwise just specify the $LibDir/VTK-VC++ directory.

    Click one again on 'Configure' and then click on 'OK'. This will generate a Visual C++ project (*.dsw) in $LibDir/InsightApplications-VC++.

    Launch $LibDir/InsightApplications-VC++/InsightApplications.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'.

    You only need to compile ImageViewer for NeuroLib. If you want you can compile all InsightApplications (This will take a long time) by selecting ALL_BUILD.

 


Continue installation >>