Csound Csound-dev Csound-tekno Search About

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

Date2015-02-20 23:00
FromSteven Yi
SubjectRe: [Cs-dev] cannot build because of -std=gnu++11
AttachmentsNone  None  

That is what I did, made it only apply to the padsynth opcode. I had not touched the Linux stuff though, which seems to be affecting Joachim.


On Fri, Feb 20, 2015, 5:51 PM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
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 <stevenyi@gmail.com> 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 <mantaraya36@gmail.com> 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 <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
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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

Date2015-02-21 02:20
FromSteven Yi
SubjectRe: [Cs-dev] cannot build because of -std=gnu++11
I made the change for Linux.  (I have a VM with Xubuntu 12.04, so
pretty close to what Joachim has).  It should now compile padsynth as
well as the rest of Csound.  (I added detection for gnu++11 or
gnu++0x, then added flag appropriately; that is only for Linux, btw)

On Fri, Feb 20, 2015 at 6:00 PM, Steven Yi  wrote:
> That is what I did, made it only apply to the padsynth opcode. I had not
> touched the Linux stuff though, which seems to be affecting Joachim.
>
>
> On Fri, Feb 20, 2015, 5:51 PM Victor Lazzarini 
> wrote:
>>
>> 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://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

Date2015-02-22 23:15
Fromjoachim heintz
SubjectRe: [Cs-dev] cannot build because of -std=gnu++11
builds now steven.
thanks!!

	joachim


Am 21.02.2015 um 03:20 schrieb Steven Yi:
> I made the change for Linux.  (I have a VM with Xubuntu 12.04, so
> pretty close to what Joachim has).  It should now compile padsynth as
> well as the rest of Csound.  (I added detection for gnu++11 or
> gnu++0x, then added flag appropriately; that is only for Linux, btw)
>
> On Fri, Feb 20, 2015 at 6:00 PM, Steven Yi  wrote:
>> That is what I did, made it only apply to the padsynth opcode. I had not
>> touched the Linux stuff though, which seems to be affecting Joachim.
>>
>>
>> On Fri, Feb 20, 2015, 5:51 PM Victor Lazzarini 
>> wrote:
>>>
>>> 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://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