|
- Timestamp:
-
Dec 12, 2018, 4:54:14 PM (6 years ago)
- Author:
-
gallmei
- Comment:
-
adding infos about problems
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v6
|
v7
|
|
21 | 21 | If something goes wrong, you may try to do the manual compilation procedure: |
22 | 22 | |
23 | | 1) Download the source from https://roottuple.hepforge.org/ |
| 23 | 1. Download the source from https://roottuple.hepforge.org/ |
24 | 24 | |
25 | | 2) Modify the file `RootTuple-master/src/CMakeLists.txt` by changing one line |
| 25 | 2. Modify the file `RootTuple-master/src/CMakeLists.txt` by changing one line |
26 | 26 | {{{ |
27 | 27 | add_library (RootTuple SHARED ${RootTuple_SOURCES}) |
28 | 28 | }}} |
29 | | to |
| 29 | to |
30 | 30 | {{{ |
31 | 31 | add_library (RootTuple STATIC ${RootTuple_SOURCES}) |
32 | 32 | }}} |
33 | 33 | |
34 | | 3) follow the usual given build procedure of '!RootTuple' |
| 34 | 3. follow the usual given build procedure of '!RootTuple' |
| 35 | |
35 | 36 | ...here internals to your ROOT installation may enter... |
36 | 37 | |
37 | | 4) make the library accessible for GiBUU, e.g.: |
| 38 | a. Maybe you have to add in `RootTuple-master/CMakeLists.txt` the line |
| 39 | {{{ |
| 40 | set (CMAKE_CXX_FLAGS "-std=c++11") |
| 41 | }}} |
| 42 | |
| 43 | b. If you have errors related to missing `latex2html`, comment out in `RootTuple-master/CMakeLists.txt` |
| 44 | {{{ |
| 45 | #add_subdirectory (docs) |
| 46 | }}} |
| 47 | |
| 48 | (We thank Taisiya Mineeva for pointing us to this!) |
| 49 | |
| 50 | |
| 51 | 4. make the library accessible for GiBUU, e.g.: |
38 | 52 | {{{ |
39 | 53 | cp RootTuple-master/build/src/libRootTuple.a <your/path/to/GiBUU>/objects/LIB/lib/libRootTuple.100.a |
|