You can find below some useful pages collecting instructions on how to install Geant4 in a detailed step-by-step tutorial:
Geant4 can be compiled with the C++ compiler of MS Visual Studio
C++ and the
Cygwin toolset.
Detailed instructions are given in the Installation
manual. As the build system relies on make
and other
Unix tools using only the compiler of MS Visual Studio, the section on
Section 5 Makefile and environment variables applies also for building with MS Visual C++.
We do not support compilation directly under MS Visual Studio,
i.e. we do not provide workspace files (.dsw)
or project
files (.dsp
).
However the executables created are debuggable using the debugger of MS Visual Studio. You may have to help the debugger finding the path to source files the first time you debug a given executable.
Listed below are some useful pages with instructions on how to start with the installation of CygWin, and also tips for creating a project under Visual Studio: