[Ardour-Dev] g++ version and -std=c++11 ?

Ben Simons Ben.Simons at uts.edu.au
Tue Apr 19 22:10:35 PDT 2016

:-) Hey Paul

thanks for the quick response.

ok cool.. Yes, vers 3.5.403 is what's "current" in Gentoo (fyi).

When a user runs "emerge ardour" that's what installs.

vers 4.7 is the reason i'm looking to fork from github & compile instead.

For what it's worth, I could not successfully compile on linux.

As per my previous post, it dies at:

[ 47/811] cxx: libs/lua/luastate.cc -> build/libs/lua/luastate.cc.1.o

However! this following hack got it Ardour to compile:

 $ git diff wscript
diff --git a/wscript b/wscript
index 926e6fe..fef8b18 100644
--- a/wscript
+++ b/wscript
@@ -438,6 +438,13 @@ int main() { return 0; }''',
             # determine processor flags via /proc/cpuinfo

+            #
+            # HACK
+            # add cxx_flags.append('-std=c++11') anyway
+            # [ben 20Apr16]
+            ## cxx_flags.append('-std=c++11')
+            compiler_flags.append('-std=c++11')
             if conf.env['build_target'] != 'i386':

                 flag_line = os.popen ("cat /proc/cpuinfo | grep '^flags'").read()[:-1]

I won't be checking this in. It's just a HACK. I just wanted to see if it would

produce a successful compile. It did. It simply added the compile flag '-std=c++11'.

hope that's useful info?



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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20160420/c5b57ce0/attachment-0001.htm>

More information about the Ardour-Dev mailing list