Difference between revisions of "OpenIGTLink/Library"
From NAMIC Wiki
(→Build) |
(→Build) |
||
Line 9: | Line 9: | ||
= Build = | = Build = | ||
+ | |||
+ | We are currently supporting Windows, Linux and Mac OS X. | ||
+ | You need to have CMake (version 2.4 or higher) installed in your computer. | ||
First, move to your working directory and get the source code from the NAMICSandBox repository: | First, move to your working directory and get the source code from the NAMICSandBox repository: |
Revision as of 14:02, 22 October 2008
Home < OpenIGTLink < LibrarySource code
An Open Source implementation of the OpenIGTLink protocol is available at
http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/
Build
We are currently supporting Windows, Linux and Mac OS X. You need to have CMake (version 2.4 or higher) installed in your computer.
First, move to your working directory and get the source code from the NAMICSandBox repository:
svn co http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink OpenIGTLink
Create a build directory and move there.
$ mkdir OpenIGTLink-build $ cd OpenIGTLink-build
Configure the source. Simply run cmake from the build directory as follows:
$ cmake ../OpenIGTLink
Now it's ready to build the OpenIGTLink library. Run make in the same directory:
$ make
Once it completed, you could find libOpenIGTLink.a and several binaries for the example programs in 'bin' directory.
$ ls bin/ igtl_header_test igtl_util_test libOpenIGTLink.a StatusServer igtl_image_test ImagerClient ReceiveClient TrackerClient igtlSocketTest ImagerServer ReceiveServer TrackerServer igtl_transform_test libigtlutil.a StatusClient
License
This code is distributed under the new BSD License.