OpenIGTLink/Library

From NAMIC Wiki
Revision as of 14:03, 22 October 2008 by Tokuda (talk | contribs) (→‎Build)
Jump to: navigation, search
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

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
$ ls
OpenIGTLink          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