Difference between revisions of "OpenIGTLink/Library/Build"

From NAMIC Wiki
Jump to: navigation, search
Line 32: Line 32:
 
** Click "OK" to close CMake
 
** Click "OK" to close CMake
 
* Start Visual C and compile the project (C:\Devel\OpenIGT\build\OpenIGTLink.sln)
 
* Start Visual C and compile the project (C:\Devel\OpenIGT\build\OpenIGTLink.sln)
If all went OK you will have the executable: c:\Devel\OpenIGT\build\Testing\debug\igtlSocketTest.exe
+
 
 +
If all went OK you will have the executable and the library:
 +
* C:\Devel\OpenIGT\build\Testing\debug\igtlSocketTest.exe
 +
* C:\Devel\OpenIGT\build\Source\debug\OpenIGTLink.lib

Revision as of 18:27, 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)

If all went OK you will have the executable and the library:

  • C:\Devel\OpenIGT\build\Testing\debug\igtlSocketTest.exe
  • C:\Devel\OpenIGT\build\Source\debug\OpenIGTLink.lib