This WWW page exists in support of using Microsoft Visual C++ IDE to
build the GAMMA and PyGAMMA libraries from sources,
to build GAMMA demo and test programs, and to
run PyGAMMA scripts on Windows/Intel based computers.
You MUST have a working version of MSVC++ on your computer system (PC)
before these files can be of any use at all.
|
|
The download provided on this page supplies MSVC++ workspaces that may
be used to build the GAMMA and PyGAMMA libraries from GAMMA source codes.
The workspaces also contain projects to build GAMMA test and demo programs
using the GAMMA library, and projects to run PyGAMMA scripts using the
PyGAMMA library.
|
Note that there is absolutely nothing wrong with downloading and using a
pre-built GAMMA and/or PyGAMMA library for MSVC++. The
GAMMA DLL available for downloading will
be exactly that which may be built from the dynamic workspace provided with
the package on this page. The pre-built library will also allow users
to compile and run GAMMA simulation programs using MSVC++. Similarly, the pre-built
PyGAMMA DLL is the same as that which
may be built from the supplied pygamma workspace. It alone will allow users to
run interactive GAMMA simulations within Python. In short, although there is no harm
in obtaining this download, you may not wish or need to build any (Py)GAMMA libraries
for MSVC++ yourself.
|
|
|
|
|
|
The above package (left)_provides three different workspaces, each residing in
its own subdirectory (folder). These are dynamic for builds and use
of the GAMMA DLL, static for builds and use of GAMMA as a static
library (not recommended), and pygamma for builds and use of
PyGAMMA - GAMMA running interactively under Python.
Each workspace contains a project for building a (Py)GAMMA library from source
codes, and projects using the library to run example and test programs.
Additionally, the package will contain explicit instruction on how to accomplish
the builds using the provided workspaces.
The MSVC++ package supplied on this page (left) will NOT supply the
GAMMA sources. Obviously you will need the
GAMMA sources in order to build any (Py)GAMMA library. These are provided in the above
package (right). Please note that neither will this package supply Python nor
Boost.Python, both required for the build of the PyGAMMA DLL.
|
|
 |
The figure at the left depicts a GAMMA directory structure, the directories
of importance* to MSVC++ are highlighted in green. (Your directory structure
may vary somewhat.) The directory i686-pc-msvc will contain any
libraries and binary object files built under Visual C++. This will be created
during the build of a GAMMA library using MSVC++ and one of the provided workspaces.
The directory src is where the GAMMA source codes are kept for a particular
version (version 4.1.0 in the figure). It is important that both the GAMMA .cc and .h
files are in that directory if you plan to build any GAMMA libraries under MSVC++.
|
|
|
Note that there is absolutely nothing wrong with using a pre-built GAMMA and/or
PyGAMMA library for MSVC++. The GAMMA DLL
will be that which is built from the dynamic workspace provided. It will
allow users to compile and run GAMMA simulation programs using MSVC++. Similarly,
the PyGAMMA DLL that which is built from the
pygamma workspace. It alone will allow users to run interactive GAMMA
simulations within Python.
|
|
*
PyGAMMA builds require files in additional directories, those needed for Python
and those necessary for Boost.Python. Once built, PyGAMMA will no longer depend
upon the Boost.Python files, but will rely on Python.
|