[Csnd-dev] Build failure CsoundAC
| Date | 2017-04-27 11:32 |
| From | jpff |
| Subject | [Csnd-dev] Build failure CsoundAC |
Lots of errors due to c++11 I think |
| Date | 2017-04-27 12:34 |
| From | jpff |
| Subject | Re: [Csnd-dev] Build failure CsoundAC |
In case it matters g++ version 4.8.3 On Thu, 27 Apr 2017, jpff wrote: > Lots of errors due to c++11 I think > > Away from base s trouble ct'n'paste |
| Date | 2017-04-27 12:46 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd-dev] Build failure CsoundAC |
I am getting errors off the SWIG-generated cpp file for the CsoundAC python interface. Using clang 8. ======================== Prof. 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 27 Apr 2017, at 12:34, jpff |
| Date | 2017-04-27 12:48 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd-dev] Build failure CsoundAC |
make clean fixed it. ======================== Prof. 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 27 Apr 2017, at 12:46, Victor Lazzarini |
| Date | 2017-04-27 12:51 |
| From | jpff |
| Subject | Re: [Csnd-dev] Build failure CsoundAC |
Just confirms my dislike of C++; the source of so many problems. Cold someon actally fix tis? Or shols csoundac be removed? On Thu, 27 Apr 2017, Victor Lazzarini wrote: > I am getting errors off the SWIG-generated cpp file for the CsoundAC python interface. Using clang 8. > ======================== > Prof. 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 27 Apr 2017, at 12:34, jpff |
| Date | 2017-04-27 12:56 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd-dev] Build failure CsoundAC |
re-generating the file seemed to have done the trick. ======================== Prof. 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 27 Apr 2017, at 12:51, jpff |
| Date | 2017-04-27 14:26 |
| From | jpff |
| Subject | Re: [Csnd-dev] Build failure CsoundAC |
Also many warnings, especially in wp-filters before megaerrors in csoundAC
In file included from /usr/include/c++/4.8/random:35:0,
from
/home/jpff/csound6/frontends/CsoundAC/Counterpoint.hpp:69,
from
/home/jpff/csound6/frontends/CsoundAC/Silence.hpp:71,
from
/home/jpff/csound6/frontends/CsoundAC/ImageToScore.hpp:30,
from
/home/jpff/csound6/frontends/CsoundAC/ImageToScore.cpp:21:
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support is currently experimental, and must be enabled with the -std=c++11
or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \ |
| Date | 2017-04-27 14:44 |
| From | jpff |
| Subject | Re: [Csnd-dev] Build failure CsoundAC |
Setting set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") in Cstom.cmak |
| Date | 2017-04-27 16:34 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd-dev] Build failure CsoundAC |
I thought that -std=c++11 had been added to cmake to enable c++11 already. It appears 4.8.1 was the first gcc version to support c++11 fully. I have gcc 5.4 in my ubuntu (16.04). I remember now I had to update the OS to get it (and in the process wiped out some software I had written of which I didn’t have a copy anywhere else…) ======================== Prof. 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 27 Apr 2017, at 14:44, jpff |