Skip to content

Latest commit

 

History

History
76 lines (59 loc) · 2.63 KB

build.md

File metadata and controls

76 lines (59 loc) · 2.63 KB
title category tags
Build
info
build

Platform Notes

At least C++11 64-bit compiler support is required.

Build requirements

OS X

  • Tested on 10.8 - 10.11
  • Apple clang 5.1 or newer
  • Qt 4.8
    • Download Qt 4.8 DMG.
    • The above dmg will not work if using OS X 10.11. In this case Qt 4.8 can be acquired through macports using the command 'sudo port install qt4-mac' - more on macports here: https://www.macports.org/install.php

Windows

  • Tested on Windows 7-10
  • Visual Studio 2013
  • Qt 4.8

Linux

  • Tested on Ubuntu 14.04 LTS, OpenSUSE Leap 42.1
  • gcc 4.8
  • Qt 4.8

All Platforms

  • CMake (platform independent configuring system that is used for generating Makefiles, Visual Studio project files, or Xcode project files)
    • Tested with 2.8 - 3.4
    • Root cmake file is Superbuild/CMakeLists.txt.
    • Building in source directories is not permitted.
    • Make sure BUILD_SHARED_LIBS is on (default setting).

CMake Build Generators

  • Windows
    • Visual Studio 2013
  • OS X
    • Unix Makefiles
    • Xcode
  • Linux
    • Unix Makefiles

Compiling SCIRun

Run CMake from your build (bin or other build directory of your choice) directory and give a path to the CMake Superbuild directory containing the master CMakeLists.txt file. For example, on the command line if building from the default SCIRun bin directory:

cd bin
cmake ../Superbuild

The console version ccmake, or GUI version can also be used. You may be prompted to specify your location of the Qt installation. If you installed Qt in the default location, it should find Qt automatically. After configuration is done, generate the make files or project files for your favorite development environment and build.

Following the previous example, the SCIRun application will be built in bin/SCIRun.

A bash build script (build.sh) is also available for Linux and Mac OS X to simplify the process. Usage information is available using the --help flag:

./build.sh --help

Tagging Releases

On an OSX system, run script release.sh in the src directory with the release name in format beta.XX as a parameter.