Difference between revisions of "Instructions to build NaviTrack"
From NAMIC Wiki
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | = '''Linux Users''' = | ||
+ | |||
== Make directory: '''navitrack''' == | == Make directory: '''navitrack''' == | ||
Line 14: | Line 16: | ||
* Run this command to configure NaviTrack: | * Run this command to configure NaviTrack: | ||
cmake ../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: <br> http://www.cmake.org/HTML/Download.html) | ||
+ | |||
+ | == Build NaviTrack == | ||
+ | * To compile NaviTrack, in the same directory, e.g. NaviTrack-build, run: | ||
+ | make | ||
+ | |||
+ | |||
+ | = '''Windows Users''' = | ||
+ | |||
+ | == Make directory: '''navitrack''' == | ||
+ | |||
+ | * Create this directory anywhere you want on your machine | ||
+ | * This directory will be the root directory for your NaviTrack | ||
+ | * In navitrack, make a new directory '''NaviTrack''' where the source code will be downloaded to | ||
+ | * In the same directory, create a directory '''NaviTrack-build''' | ||
+ | |||
+ | == Download NaviTrack source code == | ||
+ | * If you don't '''RapidSVN''' on your machine, download and install it from here: http://www.rapidsvn.org/download/release/0.9.4/ | ||
+ | * Run RapidSVN to check out NaviTrack source tree with the following parameters: | ||
+ | ** username: ivs | ||
+ | ** password: ivs | ||
+ | ** URL: https://ariser.uio.no/svn/navitrack/branches/nt-brp | ||
+ | ** Destination directory: your-path/navitrack/NaviTrack | ||
+ | |||
+ | == Configure NaviTrack for compiling == | ||
+ | * If you don't have '''CMake''' on your computer, download and install it (version 2.4.1 or later) from here: http://www.cmake.org/HTML/Download.html | ||
+ | * If you don't have a compiler on your computer, install Visual Studio or Developer Studio 8 Visual C++ Express. The Express is free. You can download it from here: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/. You need to download the compiler '''and''' sdk. | ||
+ | |||
+ | * Use CMake to configure NaviTrack. Make sure to write the configuration results into '''navitrack/NaviTrack-build''' | ||
== Build NaviTrack == | == Build NaviTrack == | ||
+ | * Use Visual Studio to open the '''.sln''' file in NaviTrack-build directory | ||
+ | * Build all projects in the list |
Latest revision as of 18:22, 15 May 2007
Home < Instructions to build NaviTrackContents
Linux Users
- 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 Users
- Create this directory anywhere you want on your machine
- This directory will be the root directory for your NaviTrack
- In navitrack, make a new directory NaviTrack where the source code will be downloaded to
- In the same directory, create a directory NaviTrack-build
- If you don't RapidSVN on your machine, download and install it from here: http://www.rapidsvn.org/download/release/0.9.4/
- Run RapidSVN to check out NaviTrack source tree with the following parameters:
- username: ivs
- password: ivs
- URL: https://ariser.uio.no/svn/navitrack/branches/nt-brp
- Destination directory: your-path/navitrack/NaviTrack
- If you don't have CMake on your computer, download and install it (version 2.4.1 or later) from here: http://www.cmake.org/HTML/Download.html
- If you don't have a compiler on your computer, install Visual Studio or Developer Studio 8 Visual C++ Express. The Express is free. You can download it from here: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/. You need to download the compiler and sdk.
- Use CMake to configure NaviTrack. Make sure to write the configuration results into navitrack/NaviTrack-build
- Use Visual Studio to open the .sln file in NaviTrack-build directory
- Build all projects in the list