-
- Downloads
Include new TTreePlayer headers as ROOT/*.hxx instead of *.hxx
New style headers that reside in ROOT/ should also be included as such. This problem was not found before because headers are copied into ${CMAKE_BINARY_DIR}/include, and that directory is added first to the include path, so since TTreeReaderValueFast.hxx and TBulkBranchRead.hxx happen to be in the same directory (i.e. ${CMAKE_BINARY_DIR}/include), it works. If ${CMAKE_BINARY_DIR}/include is added only later and as a private include of each target, compilation fails with: In file included from tree/treeplayer/src/TTreeReaderValueFast.cxx:12: tree/treeplayer/inc/ROOT/TTreeReaderValueFast.hxx:27:10: fatal error: TBulkBranchRead.hxx: No such file or directory #include "TBulkBranchRead.hxx" ^~~~~~~~~~~~~~~~~~~~~
Loading
Please register or sign in to comment