forked from GenFit/GenFit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.build
33 lines (22 loc) · 1.15 KB
/
README.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
To build GENFIT cmake is needed in version 2.6 or higher.
To create the library, create a build directory and change into it. E.g.
mkdir build; cd build
Now create the Makefiles by invoking:
cmake ..
And build:
make
The libraries are created in the subdirectory lib/ of the build directory.
To install the libraries and copy all header files into the directories lib/ and
include/ in the root directory of the project, invoke
make install
To build the doxygen:
make doc
To build the examples/tests (also see README in test/):
make tests
The ROOT dicitionary requires to know the include paths of the libraries during runtime. To run GenFit, one has to
define the ROOT_INCLUDE_PATH environment variable. The reason is, that we use the from Eigen recommended include pattern
e.g. Eigen/Dense and not eigen3/Eigen/Dense. Because of this, the ROOT dictionaries can not find the headers. Run
export ROOT_INCLUDE_PATH=/path/to/eigen3
to make the Eigen headers visible.
To build GFRave and the vertexing examples, you need an installation of Rave (https://rave.hepforge.org/), and the environment variable RAVEPATH set.
export RAVEPATH=<yourRaveDirectory>