Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1134 closed Bug (fixed)

error with compiling Delphes-3.4.0

Reported by: miranda Owned by:
Priority: critical Milestone:
Component: Delphes code Version: Delphes 3
Keywords: [CaloGrid] Error 1 Cc:

Description

I have - root-5.34.34- fastjet-3.2.2 on ubuntu 16.04.
when I try to make Delphes-3.4.0, I got the following error:

Compiling examples/CaloGrid.cpp
Building CaloGrid

tmp/examples/CaloGrid.o: In function `main':
CaloGrid.cpp:(.text.startup+0xdb2): undefined reference to `TString::TString(std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CaloGrid.cpp:(.text.startup+0xe43): undefined reference to `TString::TString(std::
cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
Makefile:2320: recipe for target 'CaloGrid' failed
make: * [CaloGrid] Error 1
could you please help me to solve it?

Change History (2)

comment:1 by Pavel Demin, 7 years ago

Looking at the error messages, I'd say that ROOT and Delphes are compiled with different gcc versions.

Could you please provide more information about how you installed ROOT?

comment:2 by Pavel Demin, 7 years ago

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