Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1145 closed Bug (fixed)

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState: Missing FileEntry for ExRootAnalysis/ExRootTreeReader.h

Reported by: Adarsh Pyarelal Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: cling, ROOT Cc:

Description

Hello,

I get errors of the following sort:

Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
    Missing FileEntry for ExRootAnalysis/ExRootTreeReader.h
    requested to autoload type ExRootTreeReader

when I try to process a hepmc file generated by Pythia8 as part of the Madevent->Pythia->Delphes chain in MadGraph5.

Any idea why I'm seeing these errors? I'm using Delphes 3.4.1 and ROOT 6.11/01 built with GCC 6.1.0.

Sidenote: When I was building Delphes using the ./configure; make process, I got errors of the form

error: ‘struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access
       struct __xfer_bufptrs

To fix this, I removed the lines

@echo "#define private public" > $@.arch
@echo "#define private public" >> $@.arch

in the Makefile, and replaced them with

@echo " " > $@.arch

-Adarsh

Change History (2)

comment:1 by Adarsh Pyarelal, 7 years ago

Fixed it by hard-coding the full paths to the ExRootAnalysis headers in the source files:

cd Delphes
find . -type f -exec sed -i 's/include "ExRootAnalysis/include "\/home\/u13\/adarsh\/MG5_aMC_v2_6_0\/Delphes\/external\/ExRootAnalysis/g' {} \;
./configure; make

comment:2 by Adarsh Pyarelal, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.