CIBC:Documentation:SCIRun:Reference:SCIRun:BuildingReleases

From SCIRun Documentation Wiki
Jump to navigation Jump to search

Building SCIRun Releases

Windows

Requires Inno Setup 5 and MiKTeX for building PDF documents from LaTeX sources. We will likely change to CPack and NSIS in the future for building binary installers.

Build Machine

Use a Windows 64-bit machine with Visual Studio 2008 for building Windows releases.

Building SCIRun 32-bit and 64-bit Releases

Use CMake to configure separate projects: a 32-bit project using the Visual Studio 2008 generator and a 64-bit project using the Visual Studio 2008 Win64 generator.

Make sure that the following CMake variables are turned on:

  • WITH_ITK
  • BUILD_DOCUMENTATION
  • BUILD_NETLIB (should be on by default in SCIRun 4.6 and greater)
  • WITH_TETGEN (should be on by default in SCIRun 4.4 and greater)

Make sure that the following CMake variables are turned off:

  • BUILD_TESTING

Once the Visual Studio projects have been created, go the SCIRun\bin directory and use the buildReleaseInstaller.bat script to build the binary installers.

Mac OS X

The SCIRun release build has been set up on the krypton.sci.utah.edu workstation. Login to the scirun-tester account and use the build-scirun.sh script in the scirun-tester to run the automated build. Using the screen utility with logging is recommended if logging in remotely, in case the remote session is interrupted.

 screen -L ./build-scirun.sh