Fork me on GitHub

#1134 closed Bug (fixed)

error with compiling Delphes-3.4.0

Reported by: sarvin 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 Changed 12 months ago by pavel

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 Changed 12 months ago by pavel

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.