gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Version 10 and Version 11 of libRootTuple


Ignore:
Timestamp:
Aug 22, 2023, 8:48:25 PM (15 months ago)
Author:
gallmei
Comment:

update info about c++17 as default

Legend:

Unmodified
Added
Removed
Modified
  • libRootTuple

    v10 v11  
    1717==== In case of troubles ====
    1818
    19 If you get error messages and the compilation fails, please check the output of the command `root-config --cflags`. If you find something like '-std=c++17', then
    20 please change line 10 in file
     19We have changed line 10 in file
    2120`GiBUU/libraries/RootTuple/RootTuple-master/src/CMakeLists.txt`
    22 from
    23 {{{
    24 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") # [GiBUU]
    25 }}}
    2621to
    2722{{{
    2823set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17") # [GiBUU]
    2924}}}
    30 and do 'make buildRootTuple' again.
     25since this C standard was needed for the actual ROOT installation.
     26
     27If your compiler complaints, please check the output of the command `root-config --cflags`. Maybe you can lower the restrictions for your personal ROOT installation to '-std=c++11'.
     28
    3129
    3230== The manual way ==
     
    5149  a. Maybe you have to add in `RootTuple-master/CMakeLists.txt` the line
    5250{{{
    53 set (CMAKE_CXX_FLAGS "-std=c++11")
     51set (CMAKE_CXX_FLAGS "-std=c++17")
    5452}}}
    5553