<div dir="ltr"><div>You might consider running ./waf configure --help<br><br></div>which would show --cxx11 as an option already (thanks to rgareus, as ever)<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 1:10 AM, Ben Simons <span dir="ltr"><<a href="mailto:Ben.Simons@uts.edu.au" target="_blank">Ben.Simons@uts.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:10pt;color:#000000;background-color:#ffffff;font-family:'Courier New',monospace"><div><div class="h5">
<div style="font-size:10pt;color:#000000;background-color:#ffffff;font-family:'Courier New',monospace" dir="ltr">
<div>
<p>:-) Hey Paul</p>
<p><br>
</p>
<p>thanks for the quick response.<br>
</p>
<p><br>
</p>
<p>ok cool.. Yes, vers 3.5.403 is what's "current" in Gentoo (fyi).</p>
<p>When a user runs "emerge ardour" that's what installs.<br>
</p>
<p>vers 4.7 is the reason i'm looking to fork from github & compile instead.</p>
<p><br>
</p>
<p>For what it's worth, I could not successfully compile on linux.</p>
<p>As per my previous post, it dies at:</p>
<p><br>
</p>
<p>[ 47/811] cxx: libs/lua/luastate.cc -> build/libs/lua/luastate.cc.1.o</p>
<p><br>
</p>
<p><br>
</p>
<p>However! this following hack got it Ardour to compile:</p>
<p><br>
</p>
<p> $ git diff wscript<br>
diff --git a/wscript b/wscript<br>
index 926e6fe..fef8b18 100644<br>
--- a/wscript<br>
+++ b/wscript<br>
@@ -438,6 +438,13 @@ int main() { return 0; }''',<br>
             # determine processor flags via /proc/cpuinfo<br>
             #<br>
<br>
+            #<br>
+            # HACK<br>
+            # add cxx_flags.append('-std=c++11') anyway<br>
+            # [ben 20Apr16]<br>
+            ## cxx_flags.append('-std=c++11')<br>
+            compiler_flags.append('-std=c++11')<br>
+<br>
             if conf.env['build_target'] != 'i386':<br>
<br>
                 flag_line = os.popen ("cat /proc/cpuinfo | grep '^flags'").read()[:-1]<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>I won't be checking this in. It's just a HACK. I just wanted to see if it would</p>
<p>produce a successful compile. It did. It simply added the compile flag '-std=c++11'.</p>
<p><br>
</p>
<p>hope that's useful info?</p>
<p><br>
</p>
<p>cheers,</p>
<p>ben.<br>
</p>
</div>
</div>

</div></div><div><p></p><hr><span class="">
<font face="arial"><font size="1">UTS CRICOS Provider Code: 00099F
DISCLAIMER: This email message and any accompanying attachments may contain confidential information.
If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or
attachments. If you have received this message in error, please notify the sender immediately and delete
this message. Any views expressed in this message are those of the individual sender, except where the
sender expressly, and with authority, states them to be the views of the University of Technology Sydney.
Before opening any attachments, please check them for viruses and defects.

Think. Green. Do.

Please consider the environment before printing this email.
</font></font>
</span><p></p></div>
</div>

<br>_______________________________________________<br>
ardour-dev mailing list<br>
<a href="mailto:ardour-dev@lists.ardour.org">ardour-dev@lists.ardour.org</a><br>
<a href="http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org" rel="noreferrer" target="_blank">http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org</a><br>
<br></blockquote></div><br></div>