Difference between revisions of "OpenIGTLink/Library/Build"

From NAMIC Wiki
Jump to: navigation, search
Line 15: Line 15:
  
 
== Windows ==
 
== Windows ==
 +
* Download [http://tortoisesvn.net/downloads SVN Windows client] if you don't have one already
 +
* You will also need [http://www.cmake.org/HTML/Download.html CMake] and a C/C++ compiler as [http://www.microsoft.com/express/vc/ Microsoft Visual C++]
 +
* Download out the source code from SVN
 +
** Create a directory, ex. C:\Devel\OpenIGT\OpenIGTLink
 +
** Right click on this directory (OpenIGTLink)
 +
** From the menu select "SVN Checkout..."
 +
** URL of repository: http://www.na-mic.org/svn/NAMICSandBox/trunk/OpenIGTLink/
 +
** Click OK
 +
* Run CMake
 +
** Where is the source code: C:\Devel\OpenIGT\OpenIGTLink
 +
** Where to build the binaries: C:\Devel\OpenIGT\build
 +
** Click "Configure" and select your compiler (usually just click "OK")
 +
** Message: "Build directory does not exit, should I create it?" - click "OK"
 +
** It might give a "pdflatex" error, just ignore it for now
 +
** Click "Configure"
 +
** Click "OK" to close CMake
 +
* Start Visual C and compile the project (C:\Devel\OpenIGT\build\OpenIGTLink.sln)

Revision as of 18:18, 2 February 2008

Home < OpenIGTLink < Library < Build

<< OpenIGTLink

Step by step instructions to build the basic platform

Linux

(For the moment this will not do anything, as the igtlSocketTest.cxx contains only "return EXIT_SUCCESS;")

Windows

  • Download SVN Windows client if you don't have one already
  • You will also need CMake and a C/C++ compiler as Microsoft Visual C++
  • Download out the source code from SVN
  • Run CMake
    • Where is the source code: C:\Devel\OpenIGT\OpenIGTLink
    • Where to build the binaries: C:\Devel\OpenIGT\build
    • Click "Configure" and select your compiler (usually just click "OK")
    • Message: "Build directory does not exit, should I create it?" - click "OK"
    • It might give a "pdflatex" error, just ignore it for now
    • Click "Configure"
    • Click "OK" to close CMake
  • Start Visual C and compile the project (C:\Devel\OpenIGT\build\OpenIGTLink.sln)