Difference between revisions of "OpenIGTLink/Library"

From NAMIC Wiki
Jump to: navigation, search
Line 3: Line 3:
  
 
= Source code =
 
= Source code =
 +
An Open Source implementation of the OpenIGTLink protocol is available at
 +
 +
http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/
 +
 +
 +
= Build =
 +
 +
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 change current directory.
 +
$ mkdir OpenIGTLink-build
 +
$ cd OpenIGTLink-build
 +
 +
Configure the source. Simply run cmake as follows:
 +
$ cmake ../OpenIGTLink
  
An Open Source implementation of the OpenIGTLink protocol is available at
+
Now it's ready to build the OpenIGTLink library. Run make in the same directory:
 +
$ make
  
http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/
+
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 =
 
= License =

Revision as of 14:00, 22 October 2008

Home < OpenIGTLink < Library

<< OpenIGTLink

Source code

An Open Source implementation of the OpenIGTLink protocol is available at

http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/


Build

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 change current directory.

$ mkdir OpenIGTLink-build
$ cd OpenIGTLink-build

Configure the source. Simply run cmake 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.

Design

Building instructions

Tutorial