Csound Csound-dev Csound-tekno Search About

[Cs-dev] cannot build because of -std=gnu++11

Date2015-02-20 20:00
Fromjoachim heintz
Subject[Cs-dev] cannot build because of -std=gnu++11
[ 64%] Building CXX object Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o
cc1plus: Fehler: nicht erkannte Kommandozeilenoption »-std=gnu++11«
make[2]: *** [Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o] Fehler 1
make[1]: *** [Opcodes/CMakeFiles/ampmidid.dir/all] Fehler 2

sorry for the german, but this will be clear, i think.  do i have to 
change anything in the cmake config, or is this a csound issue?

i am on ubuntu studio 12.04, gcc 4.6.3.

thanks -
	joachim

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
http

Date2015-02-20 20:25
FromSteven Yi
SubjectRe: [Cs-dev] cannot build because of -std=gnu++11
It looks like it is added in line 276 of CMakeLists.txt.  You can try
commenting that out.  We may need to add some kind of compiler
capability check and optionally add that flag.

On Fri, Feb 20, 2015 at 3:00 PM, joachim heintz  wrote:
> [ 64%] Building CXX object Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o
> cc1plus: Fehler: nicht erkannte Kommandozeilenoption »-std=gnu++11«
> make[2]: *** [Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o] Fehler 1
> make[1]: *** [Opcodes/CMakeFiles/ampmidid.dir/all] Fehler 2
>
> sorry for the german, but this will be clear, i think.  do i have to
> change anything in the cmake config, or is this a csound issue?
>
> i am on ubuntu studio 12.04, gcc 4.6.3.
>
> thanks -
>         joachim
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2015-02-20 22:16
FromAndres Cabrera
SubjectRe: [Cs-dev] cannot build because of -std=gnu++11
AttachmentsNone  None  
Does that line force a C++11 requirement for Csound?

Cheers,
Andrés

On Fri, Feb 20, 2015 at 12:25 PM, Steven Yi <stevenyi@gmail.com> wrote:
It looks like it is added in line 276 of CMakeLists.txt.  You can try
commenting that out.  We may need to add some kind of compiler
capability check and optionally add that flag.

On Fri, Feb 20, 2015 at 3:00 PM, joachim heintz <jh@joachimheintz.de> wrote:
> [ 64%] Building CXX object Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o
> cc1plus: Fehler: nicht erkannte Kommandozeilenoption »-std=gnu++11«
> make[2]: *** [Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o] Fehler 1
> make[1]: *** [Opcodes/CMakeFiles/ampmidid.dir/all] Fehler 2
>
> sorry for the german, but this will be clear, i think.  do i have to
> change anything in the cmake config, or is this a csound issue?
>
> i am on ubuntu studio 12.04, gcc 4.6.3.
>
> thanks -
>         joachim
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2015-02-20 22:25
FromSteven Yi
SubjectRe: [Cs-dev] cannot build because of -std=gnu++11
C++11 should only be necessary for the padsynth opcode library. I
modified the CMake file to only apply c++11 libraries if building on
OSX for that library (it's in Opcodes/CMakeLists.txt).  What you might
try is removing that line in the top level CMake and see if you can
build.  If you get a problem with padsynth, then we can try modifying
it like I did for OSX but also do it for Linux.

On Fri, Feb 20, 2015 at 5:16 PM, Andres Cabrera  wrote:
> Does that line force a C++11 requirement for Csound?
>
> Cheers,
> Andrés
>
> On Fri, Feb 20, 2015 at 12:25 PM, Steven Yi  wrote:
>>
>> It looks like it is added in line 276 of CMakeLists.txt.  You can try
>> commenting that out.  We may need to add some kind of compiler
>> capability check and optionally add that flag.
>>
>> On Fri, Feb 20, 2015 at 3:00 PM, joachim heintz 
>> wrote:
>> > [ 64%] Building CXX object
>> > Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o
>> > cc1plus: Fehler: nicht erkannte Kommandozeilenoption »-std=gnu++11«
>> > make[2]: *** [Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o] Fehler 1
>> > make[1]: *** [Opcodes/CMakeFiles/ampmidid.dir/all] Fehler 2
>> >
>> > sorry for the german, but this will be clear, i think.  do i have to
>> > change anything in the cmake config, or is this a csound issue?
>> >
>> > i am on ubuntu studio 12.04, gcc 4.6.3.
>> >
>> > thanks -
>> >         joachim
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> > from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> > with Interactivity, Sharing, Native Excel Exports, App Integration &
>> > more
>> > Get technology previously reserved for billion-dollar corporations, FREE
>> >
>> > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lis

Date2015-02-20 22:50
FromVictor Lazzarini
SubjectRe: [Cs-dev] cannot build because of -std=gnu++11
That is not right as well, because there is a clash with other opcodes, as we discussed earlier (I had to
remove it here). Can’t you move this to be affecting only the padsynth part, not all of Csound?

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 20 Feb 2015, at 22:25, Steven Yi  wrote:
> 
> C++11 should only be necessary for the padsynth opcode library. I
> modified the CMake file to only apply c++11 libraries if building on
> OSX for that library (it's in Opcodes/CMakeLists.txt).  What you might
> try is removing that line in the top level CMake and see if you can
> build.  If you get a problem with padsynth, then we can try modifying
> it like I did for OSX but also do it for Linux.
> 
> On Fri, Feb 20, 2015 at 5:16 PM, Andres Cabrera  wrote:
>> Does that line force a C++11 requirement for Csound?
>> 
>> Cheers,
>> Andrés
>> 
>> On Fri, Feb 20, 2015 at 12:25 PM, Steven Yi  wrote:
>>> 
>>> It looks like it is added in line 276 of CMakeLists.txt.  You can try
>>> commenting that out.  We may need to add some kind of compiler
>>> capability check and optionally add that flag.
>>> 
>>> On Fri, Feb 20, 2015 at 3:00 PM, joachim heintz 
>>> wrote:
>>>> [ 64%] Building CXX object
>>>> Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o
>>>> cc1plus: Fehler: nicht erkannte Kommandozeilenoption »-std=gnu++11«
>>>> make[2]: *** [Opcodes/CMakeFiles/ampmidid.dir/ampmidid.cpp.o] Fehler 1
>>>> make[1]: *** [Opcodes/CMakeFiles/ampmidid.dir/all] Fehler 2
>>>> 
>>>> sorry for the german, but this will be clear, i think.  do i have to
>>>> change anything in the cmake config, or is this a csound issue?
>>>> 
>>>> i am on ubuntu studio 12.04, gcc 4.6.3.
>>>> 
>>>> thanks -
>>>>        joachim
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>>> with Interactivity, Sharing, Native Excel Exports, App Integration &
>>>> more
>>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>> 
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>> 
>>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> 
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://l