Difference between revisions of "OpenIGTLink/ProtocolV2/Trial"
Line 18: | Line 18: | ||
3. Run CMake. Please make sure to turn on BUILD_EXAMPLES and OpenIGTLink_PROTOCOL_VERSION_2 options. From the terminal, run: | 3. Run CMake. Please make sure to turn on BUILD_EXAMPLES and OpenIGTLink_PROTOCOL_VERSION_2 options. From the terminal, run: | ||
cmake -DBUILD_EXAMPLES:BOOL=ON -DOpenIGTLink_PROTOCOL_VERSION_2:BOOL=ON ../OpenIGTLink | cmake -DBUILD_EXAMPLES:BOOL=ON -DOpenIGTLink_PROTOCOL_VERSION_2:BOOL=ON ../OpenIGTLink | ||
+ | |||
+ | 4. Build the library. From the terminal, just run make command: | ||
+ | make | ||
+ | |||
+ | 5. You can find the binary files including example programs in 'OpenIGTLink-build/bin' directory (or 'OpenIGTLink-build/bin/{Debug or Release} on Windows). | ||
=Trying Protocol Version 2 with 3D Slicer= | =Trying Protocol Version 2 with 3D Slicer= | ||
The latest 3D Slicer 3.6.3 beta (downloaded after Nov 19, 2010) can handle a part of newly introduced features in version 2. | The latest 3D Slicer 3.6.3 beta (downloaded after Nov 19, 2010) can handle a part of newly introduced features in version 2. |
Revision as of 16:57, 29 November 2010
Home < OpenIGTLink < ProtocolV2 < TrialAbout this page
This page describes how to try new features in OpenIGTLink Protocol Version 2 before its release in early 2011.
OpenIGTLink library with Version 2 features
The library for protocol version 2 is available from the OpenIGTLink repository (see library version 2 information). To build the library with version 2 features, please follow the instruction bellow:
0. Create a working directory and go to the directory.
1. Obtain the source code from the repository. If you are using command line tools from a UNIX/Linux terminal:
svn co http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink
2. Create a build directory and move into it. From the terminal:
mkdir OpenIGTLink-build cd OpenIGTLink-build
3. Run CMake. Please make sure to turn on BUILD_EXAMPLES and OpenIGTLink_PROTOCOL_VERSION_2 options. From the terminal, run:
cmake -DBUILD_EXAMPLES:BOOL=ON -DOpenIGTLink_PROTOCOL_VERSION_2:BOOL=ON ../OpenIGTLink
4. Build the library. From the terminal, just run make command:
make
5. You can find the binary files including example programs in 'OpenIGTLink-build/bin' directory (or 'OpenIGTLink-build/bin/{Debug or Release} on Windows).
Trying Protocol Version 2 with 3D Slicer
The latest 3D Slicer 3.6.3 beta (downloaded after Nov 19, 2010) can handle a part of newly introduced features in version 2.