Geant4 Installation Guide

Building and Installing Geant4 for Users and Developers

Geant4 Collaboration

Version: Update to geant4 9.5

23rd January, 2012


Table of Contents

1. Getting Started
1.1. Supported and Tested Platforms
1.2. Software Required to Build Geant4
1.2.1. Changes to Usage of the CLHEP Software
1.3. Software Required to Build Optional Components of Geant4
1.4. Software Suggested for Use With Geant4
2. Building and Installing Geant4
2.1. Building and Installing on Unix Platforms
2.2. Building and Installing on Windows Platforms
2.3. Geant4 Build Options
2.3.1. Standard Options
2.3.2. Advanced Options
3. Setting Up and Using an Install of Geant4
3.1. Geant4 Installation Locations
3.2. Building Applications with Geant4
3.2.1. Geant4Make
3.2.2. Geant4 CMake Module
3.2.3. Unix geant4-config Shell Script
3.3. Note on Geant4 Datasets
4. CMake and Build Tools For Geant4 Developers
4.1. Developing Geant4 using Make, Xcode, Visual Studio and Eclipse
4.2. Command Line Help with Make
4.3. Building Quickly and Efficiently with Multiple Build Directories
4.4. Building Test Applications Against Your Development Build
5. Help And Support
5.1. Getting Help
5.2. Further Information
6. Manual GNUmake Installation Procedures on Unix
6.1. Installing Geant4 Manually
6.1.1. Required Environment Variables
6.1.2. Optional Environment Variables
6.2. Integrating Geant4 into a Generic Framework
7. Tips for manually Installing on Windows with GNUMake
7.1. Windows with the Cygwin Toolset and Microsoft Visual C++
7.2. Building Kernel Libraries DLLs with GNUMake