<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi Riveteers,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I’m trying to compile Rivet 2.4.2 on a Mac recently upgraded to El Capitan, using Macport’s /opt/local/bin/clang++-mp-3.7 compiler. I am linking against Yoda 1.6.1, which installed without problems. </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">When trying to compile Rivet, however, I get three times the following error which seem to go back to a Yoda header:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">In file included from Run.cc:3:</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">In file included from ../../include/Rivet/AnalysisHandler.hh:8:</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">In file included from ../../include/Rivet/Tools/RivetYODA.hh:9:</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">In file included from /usr/local/clang37/include/YODA/Histo1D.h:13:</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">In file included from /usr/local/clang37/include/YODA/Axis1D.h:8:</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures"><b>/usr/local/clang37/include/YODA/Utils/BinSearcher.h:145:16: </b></span><span style="color:#c33720"><b>error: </b></span><span style="font-variant-ligatures: no-common-ligatures"><b>no matching function for call to 'make_shared'</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">        _est = std::make_shared<LinEstimator>(0, 0, 1);</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures: no-common-ligatures"><b>               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures"><b>/opt/local/libexec/llvm-3.7/bin/../include/c++/v1/memory:4793:1: note: </b>candidate function [with _Tp = YODA::Utils::LinEstimator,</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">      _A0 = int, _A1 = int, _A2 = int] not viable: expects an l-value for 1st argument</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">make_shared(_A0& __a0, _A1& __a1, _A2& __a2)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures: no-common-ligatures"><b>^</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures"><b>/opt/local/libexec/llvm-3.7/bin/../include/c++/v1/memory:4769:1: note: </b>candidate function template not viable: requires 0</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">      arguments, but 3 were provided</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">make_shared()</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures: no-common-ligatures"><b>^</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures"><b>/opt/local/libexec/llvm-3.7/bin/../include/c++/v1/memory:4777:1: note: </b>candidate function template not viable: requires single</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">      argument '__a0', but 3 arguments were provided</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">make_shared(_A0& __a0)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures: no-common-ligatures"><b>^</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures"><b>/opt/local/libexec/llvm-3.7/bin/../include/c++/v1/memory:4785:1: note: </b>candidate function template not viable: requires 2</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">      arguments, but 3 were provided</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures: no-common-ligatures">make_shared(_A0& __a0, _A1& __a1)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,189,38)"><span style="font-variant-ligatures: no-common-ligatures"><b>^</b></span></p><div><span style="font-variant-ligatures: no-common-ligatures"><b><br></b></span></div></div><div>I attach the config.log from both Yoda and Rivet for reference.</div><div><br></div><div>Let me know if I can provide any additional logs or tests on my system.</div><div><br></div><div>All the best,</div>Peter<div><br><div id="bloop_sign_1463989044241164800" class="bloop_sign"><font face="Helvetica"><span style="font-size:11px">—</span></font><div><b style="font-family:Helvetica;font-size:11px">PETER SKANDS<br></b><span style="font-family:Helvetica;font-size:11px">Associate Professor</span><br style="font-family:Helvetica;font-size:11px"><br style="font-family:Helvetica;font-size:11px"><b style="font-family:Helvetica;font-size:11px">School of Physics and Astronomy<br></b><span style="font-family:Helvetica;font-size:11px">Monash University </span><br style="font-family:Helvetica;font-size:11px"><span style="font-family:Helvetica;font-size:11px">10 College Walk, Clayton Campus</span><br style="font-family:Helvetica;font-size:11px"><span style="font-family:Helvetica;font-size:11px">Melbourne, VIC 3800</span><br style="font-family:Helvetica;font-size:11px"><span style="font-family:Helvetica;font-size:11px">Australia</span><br style="font-family:Helvetica;font-size:11px"><br style="font-family:Helvetica;font-size:11px"><span style="font-family:Helvetica;font-size:11px">T: </span><a href="tel://+61 3 990 53692" style="font-family:Helvetica;font-size:11px">+61 3 990 53692</a><br style="font-family:Helvetica;font-size:11px"><span style="font-family:Helvetica;font-size:11px">E: </span><a href="mailto:peter.skands@monash.edu" style="font-family:Helvetica;font-size:11px">peter.skands@monash.edu</a><br style="font-family:Helvetica;font-size:11px"><span style="font-family:Helvetica;font-size:11px">W: </span><a href="http://skands.physics.monash.edu/" style="font-family:Helvetica;font-size:11px">skands.physics.monash.edu</a><br style="font-family:Helvetica;font-size:11px"><br style="font-family:Helvetica;font-size:11px"><font face="Helvetica"><span style="font-size:11px">—</span></font><br style="font-family:Helvetica;font-size:11px"><div style="font-family:helvetica,arial;font-size:13px"><span style="font-family:Helvetica;font-size:11px">Sent with Airmail </span></div></div></div></div></body></html>