Difference between revisions of "OpenIGTLink/Library"

From NAMIC Wiki
Jump to: navigation, search
Line 17: Line 17:
 
  $ cd OpenIGTLink-build
 
  $ cd OpenIGTLink-build
  
Configure the source. Simply run cmake as follows:
+
Configure the source. Simply run cmake from the build directory as follows:
 
  $ cmake ../OpenIGTLink
 
  $ cmake ../OpenIGTLink
  

Revision as of 14:01, 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 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.

Design

Building instructions

Tutorial