|
[Rivet] Build of latest 2-6-x release branchAndy Buckley andy.buckley at cern.chTue Jul 17 19:48:34 BST 2018
Hi David, What platform is this on? I found the same problem on SL7 without a "modern compiler" override of the native environment: looks like the required bit of C++11 is not supported in GCC 4.8.5. Since this enhancement of Particles over the previous "typedef vector<Particle>" is syntactic sugar, and lots of people expect Rivet to build (not 100% unreasonably, despite not being an official HEP platform) on vanilla SL7, I think we probably have to postpone that change for a future version. Maybe reasonable for v3. Andy Dr Andy Buckley, Lecturer / Royal Society University Research Fellow Particle Physics Experiment Group, University of Glasgow On Jul 17 2018, at 6:40 pm, David Yallup <david.yallup at cern.ch> wrote: > > Hi All, > This is probably down to something I'm messing up but I was wondering if > anyone has had any problems building the latest 2-6-x branch recently? > > Specifically when I update to revision 6377 (current tip) I get a series > of errors all pertaining to Rivet::Particles > > In file included from ../../include/Rivet/AnalysisHandler.hh:6:0, > from Run.cc:3: > ../../include/Rivet/Particle.hh: In constructor > ‘Rivet::Particle::Particle(const HepMC::GenParticle&)’: > ../../include/Rivet/Particle.hh:53:32: error: no matching function for > call to ‘Rivet::Particles::Particles()’ > _momentum(gp.momentum()) > > > This is updating from revision 6250 (also on the 2-6-x branch) where > everything built fine (which makes me think I'm doing something too > stupid!). It looks like my compiler disagrees with the changes from > > https://rivet.hepforge.org/hg/rivet/rev/5b2baf1011f6?revcount=120 > > If others have had no trouble with recent builds of rivet I will go back > to the drawing board but thought I would check with others first. > > Thanks, > David > > > > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/rivet > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/rivet/attachments/20180717/8537bd33/attachment.html>
More information about the Rivet mailing list |