Fork me on GitHub

Ticket #1134 (closed Bug: fixed)

Opened 4 months ago

Last modified 3 months ago

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:
Blocked By: Blocking:

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

comment:1 Changed 4 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 3 months ago by pavel

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