1 |
campana |
1.2 |
Compilable macro are : |
2 |
|
|
-----> TriggerScanBasic.cpp |
3 |
|
|
-----> TriggerScanExpert.cpp |
4 |
campana |
1.1 |
|
5 |
|
|
>>>>> TO COMPILE WITH "ANT": enter the command "ant" from a terminal |
6 |
|
|
in the this directory (src) |
7 |
|
|
NB: it is required ant version >= 1.6.0 |
8 |
|
|
|
9 |
|
|
[... src]$ ant |
10 |
|
|
|
11 |
campana |
1.2 |
the result will be the executable files |
12 |
campana |
1.1 |
|
13 |
campana |
1.2 |
TriggerScanBasic |
14 |
|
|
TriggerScanExpert |
15 |
campana |
1.1 |
|
16 |
|
|
in the directory Trigger/bin |
17 |
|
|
|
18 |
|
|
NB: to compile correctly set the right paths in the initial part of |
19 |
|
|
the file build.xml |
20 |
|
|
|
21 |
|
|
NB: use the options "-h" or "--help" to known the input parameters |
22 |
|
|
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
23 |
|
|
|
24 |
campana |
1.2 |
>>>>> TO COMPILE WITH "MAKE": |
25 |
|
|
|
26 |
|
|
create your Environment Directory: |
27 |
|
|
YOURPATH/envtarget/bin |
28 |
|
|
YOURPATH/envtarget/lib |
29 |
|
|
YOURPATH/envtarget/src |
30 |
|
|
YOURPATH/envtarget/inc |
31 |
|
|
|
32 |
|
|
in the main directory (Trigger): |
33 |
|
|
edit the file EnvVar and enter the command "source EnvVar"; |
34 |
|
|
enter the command "make" from a terminal |
35 |
|
|
|
36 |
campana |
1.1 |
|
37 |
|
|
[... Trigger]$ make |
38 |
|
|
|
39 |
campana |
1.2 |
the result will be the executable files |
40 |
campana |
1.1 |
|
41 |
campana |
1.2 |
TriggerScanBasic |
42 |
|
|
TriggerScanExpert |
43 |
campana |
1.1 |
|
44 |
|
|
in the directory Trigger/bin |
45 |
|
|
|
46 |
|
|
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> |
47 |
|
|
|
48 |
|
|
if you want to install the executable in the PAMELA environmental |
49 |
|
|
setup, you have to use the bash script install.sh |
50 |
|
|
|
51 |
|
|
you try the command |
52 |
|
|
[... Trigger]$ ./install.sh --help |
53 |
|
|
|
54 |
|
|
to known how to use the script |