Difference between revisions of "Instructions to build NaviTrack"
From NAMIC Wiki
Line 19: | Line 19: | ||
* To compile NaviTrack, in the same directory, e.g. NaviTrack-build, run: | * To compile NaviTrack, in the same directory, e.g. NaviTrack-build, run: | ||
make | make | ||
+ | |||
+ | == Windows Notes == | ||
+ | === Information on Free Microsoft C++ Compiler on Windows === | ||
+ | |||
+ | Be sure to follow '''all''' the steps on Microsoft link. Yes it means you need to download the compiler '''and''' sdk. | ||
+ | |||
+ | * http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ | ||
+ | |||
+ | While still experimental, the script should also work on a properly configured windows environment. Current requirements are: | ||
+ | |||
+ | * Developer studio 8 Visual C++ Express which is free from Microsoft - be sure to install the Platform SDK and follow the ridiculous manual steps to set up the paths [[Slicer3:Build_Instructions#Information_on_Free_Microsoft_C.2B.2B_Compiler_on_Windows|see below]]. | ||
+ | ** Other releases of visual studio also work (7 and 7.1) | ||
+ | * [http://www.cygwin.com Cygwin] with the following packages | ||
+ | ** tcltk | ||
+ | ** svn | ||
+ | ** cvs | ||
+ | ** unzip | ||
+ | ** curl | ||
+ | |||
+ | === Prerequisite software === | ||
+ | |||
+ | You need to get and build the following packages if you aren't using the getbuildtest script: | ||
+ | |||
+ | # [http://www.cmake.org CMake (2.4.1 or later)] |
Revision as of 18:36, 11 May 2007
Home < Instructions to build NaviTrackContents
- Create this directory anywhere you want on your machine
- This directory will be the root directory for your NaviTrack
- Change directory to navitrack you just created
- Run the following command to check out NaviTrack source tree:
svn co --username ivs --password ivs https://ariser.uio.no/svn/navitrack/branches/nt-brp NaviTrack
- In the directory navitrack, create a new directory NaviTrack-build. Now navitrack has two sub-directories: NaviTrack and NaviTrack-build
- Change directory to NaviTrack-build
- Run this command to configure NaviTrack:
cmake ../NaviTrack (Note: Make sure you have CMake 2.4 or later installed on your system. If you don't, here is the website to get it:
http://www.cmake.org/HTML/Download.html)
- To compile NaviTrack, in the same directory, e.g. NaviTrack-build, run:
make
Windows Notes
Information on Free Microsoft C++ Compiler on Windows
Be sure to follow all the steps on Microsoft link. Yes it means you need to download the compiler and sdk.
While still experimental, the script should also work on a properly configured windows environment. Current requirements are:
- Developer studio 8 Visual C++ Express which is free from Microsoft - be sure to install the Platform SDK and follow the ridiculous manual steps to set up the paths see below.
- Other releases of visual studio also work (7 and 7.1)
- Cygwin with the following packages
- tcltk
- svn
- cvs
- unzip
- curl
Prerequisite software
You need to get and build the following packages if you aren't using the getbuildtest script: