Opened 9 years ago
Last modified 9 years ago
#705 new Bug
Compilation on Macbook pro — at Initial Version
Reported by: | Michael Ramsey-Musolf | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | link error | Cc: |
Description
Hi,
I've tried to install/make delphes within madgraph a couple of ways: directly by going into the Delphes directory and typing "make" and by running "Install delphes" from the mg5 command line. Root is running just fine. In both cases, however, I get the same link error, reproduced below. I would appreciate knowing what I have to modify to compile/link correctly.
Thx
Michael R-M
Building libDelphes.so
clang: warning: argument unused during compilation: '-pthread'
Undefined symbols for architecture x86_64:
"TAttMarker::SaveMarkerAttributes(std::1::basic_ostream<char, std::1::char_traits<char> >&, char const*, int, int, int)", referenced from:
vtable for DelphesTF2 in DelphesTF2.o
"TF2::SavePrimitive(std::1::basic_ostream<char, std::1::char_traits<char> >&, char const*)", referenced from:
vtable for DelphesTF2 in DelphesTF2.o
"TObject::SavePrimitive(std::1::basic_ostream<char, std::1::char_traits<char> >&, char const*)", referenced from:
vtable for SortableObject in ClassesDict.o
vtable for Event in ClassesDict.o
vtable for LHCOEvent in ClassesDict.o
vtable for LHEFEvent in ClassesDict.o
vtable for HepMCEvent in ClassesDict.o
vtable for GenParticle in ClassesDict.o
vtable for Vertex in ClassesDict.o
...
"TAttFill::SaveFillAttributes(std::1::basic_ostream<char, std::1::char_traits<char> >&, char const*, int, int)", referenced from:
vtable for DelphesTF2 in DelphesTF2.o
"TAttLine::SaveLineAttributes(std::1::basic_ostream<char, std::1::char_traits<char> >&, char const*, int, int, int)", referenced from:
vtable for DelphesTF2 in DelphesTF2.o
"operator<<(std::1::basic_ostream<char, std::1::char_traits<char> >&, TString const&)", referenced from:
TreeWriter::Init() in TreeWriter.o
Delphes::Init() in Delphes.o
ExRootTreeReader::Notify() in ExRootTreeReader.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: * [libDelphes.so] Error 1