Fork me on GitHub

Opened 4 years ago

Closed 4 years ago

#1500 closed Bug (fixed)

installation on mac issue

Reported by: olivier Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

on this thread: https://answers.launchpad.net/mg5amcnlo/+question/696852

Someone reported the following:

Juan Antonio Aguilar Saavedra confirmed that the question is solved:
Dear Olivier, thanks a lot. I managed to compile it but not without some
pain. I list here the errors and fixes, for reference. The first
compilation error I got was

classes/DelphesTF2.cc:35:12: error: no viable overloaded '='

which I solved by inserting

TFormula * fFormula;

on line 35 before

fFormula = new TFormula();

With that fix, compilation continued until the second error:

error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7
or later)

which I solved by writing

export MACOSX_DEPLOYMENT_TARGET=10.15

as suggested by Benj elsewhere. This prompted many warnings but
otherwise the compilation continued. The third error was

validation/DelphesValidation.cpp:1196:17: error: allocation of
incomplete type 'TF1'

which I solved by adding

#include "TF1.h"

to the header in that file. With that, I've been able to pass through
Delphes a test hepmc file. It remains to be checked whether simulated
events are fine, but I guess so.

Best,

Juan Antonio

Change History (3)

comment:1 by shuer, 4 years ago

I have run across the same problem as your on ubuntu 18.04 using python3.8 and c++ 7.5.

I have fixed it as u suggestion. Thanks a lot.

Last edited 4 years ago by shuer (previous) (diff)

comment:2 by Pavel Demin, 4 years ago

The fix is in the new release (3.5.0).

comment:3 by Pavel Demin, 4 years ago

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