[Cs-dev] CsoundAC Build Issues
Date | 2013-06-05 19:27 |
From | Steven Yi |
Subject | [Cs-dev] CsoundAC Build Issues |
Hi All (particularly Michael), I had some issues building CsoundAC. 1. The Cmake file doesn't check for eigen3. I got: /Users/stevenyi/work/csound/csound6/frontends/CsoundAC/Event.hpp:48:10: fatal error: 'eigen3/Eigen/Dense' file not found #include |
Date | 2013-06-05 19:33 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] CsoundAC Build Issues |
It's not building here too: [ 84%] Building CXX object frontends/CsoundAC/CMakeFiles/_CsoundAC.dir/CsoundACPYTHON_wrap.cxx.o cd /Users/victor/src/csound6/debug/frontends/CsoundAC && /Users/victor/bin/c++ -D_CsoundAC_EXPORTS -DUSE_DOUBLE -DCS_DEFAULT_PLUGINDIR=\"/Users/victor/Library/Frameworks/CsoundLib64.framework/Versions/6.0/Resources/Opcodes64\" -D_CSOUND_RELEASE_ -DUSE_LRINT -DMACOSX -DPIPES -DNO_FLTK_THREADS -DHAVE_SOCKETS -DHAVE_STRTOK_R -DHAVE_STRTOD_L -g -fPIC -I/usr/local/include -I/Users/victor/src/csound6/./H -I/Users/victor/src/csound6/./include -I/Users/victor/src/csound6/./Engine -I/Users/victor/src/csound6/. -I/Users/victor/src/csound6/debug -I/Users/victor/src/csound6/debug/frontends -I/Users/victor/src/csound6/frontends/beats -I/Users/victor/src/csound6/interfaces -I/Users/victor/src/csound6/frontends/CsoundAC -I/Library/Frameworks/Python.framework/Headers -Wno-format -g -F/Users/victor/src/csound6/debug -o CMakeFiles/_CsoundAC.dir/CsoundACPYTHON_wrap.cxx.o -c /Users/victor/src/csound6/debug/frontends/CsoundAC/CsoundACPYTHON_wrap.cxx /Users/victor/src/csound6/debug/frontends/CsoundAC/CsoundACPYTHON_wrap.cxx: In function ‘PyObject* _wrap__print__SWIG_0(PyObject*, PyObject*)’: /Users/victor/src/csound6/debug/frontends/CsoundAC/CsoundACPYTHON_wrap.cxx:66268: error: invalid array assignment make[2]: *** [frontends/CsoundAC/CMakeFiles/_CsoundAC.dir/CsoundACPYTHON_wrap.cxx.o] Error 1 make[1]: *** [frontends/CsoundAC/CMakeFiles/_CsoundAC.dir/all] Error 2 On 5 Jun 2013, at 19:27, Steven Yi wrote: > Hi All (particularly Michael), > > I had some issues building CsoundAC. > > 1. The Cmake file doesn't check for eigen3. I got: > > /Users/stevenyi/work/csound/csound6/frontends/CsoundAC/Event.hpp:48:10: > fatal error: 'eigen3/Eigen/Dense' file not found > #include |
Date | 2013-06-05 19:55 |
From | Michael Gogins |
Subject | Re: [Cs-dev] CsoundAC Build Issues |
Attachments | None None |
I haven't experienced problems in use related to the warnings, but I will change the type of the iterator to remove the warning. I may have done this for version 5 already... I will put in the eigen3 check.
Thanks for the information, Mike On Wed, Jun 5, 2013 at 2:33 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote: It's not building here too: Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-06-05 20:03 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] CsoundAC Build Issues |
Attachments | None None |
2.0.4 I think. On 5 Jun 2013, at 19:55, Michael Gogins wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-06-05 20:06 |
From | Steven Yi |
Subject | Re: [Cs-dev] CsoundAC Build Issues |
Hi Michael, Thanks! I'm using swig 2.0.9 here. steven On Wed, Jun 5, 2013 at 2:55 PM, Michael Gogins |
Date | 2013-06-05 20:10 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] CsoundAC Build Issues |
Attachments | None None |
I upgraded to 2.0.10 and it did no change much. I'm also getting loads of warnings from swig /Users/victor/src/csound6/frontends/CsoundAC/Event.hpp:161: Warning 362: operator= ignored /Users/victor/src/csound6/frontends/CsoundAC/Event.hpp:162: Warning 362: operator= ignored /Users/victor/src/csound6/frontends/CsoundAC/Midifile.hpp:65: Warning 362: operator= ignored /Users/victor/src/csound6/frontends/CsoundAC/Midifile.hpp:82: Warning 362: operator= ignored /Users/victor/src/csound6/frontends/CsoundAC/Midifile.hpp:99: Warning 362: operator= ignored /Users/victor/src/csound6/frontends/CsoundAC/Midifile.hpp:126: Warning 362: operator= ignored /Users/victor/src/csound6/frontends/CsoundAC/ChordLindenmayer.hpp:111: Warning 362: operator= ignored /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:254: Warning 314: 'print' is a python keyword, renaming to '_print' /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:264: Warning 314: 'print' is a python keyword, renaming to '_print' /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:533: Warning 362: operator= ignored /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:2066: Warning 302: Identifier 'isNormal' redefined (ignored), /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:471: Warning 302: previous definition of 'isNormal'. /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:2071: Warning 302: Identifier 'isNormal' redefined (ignored), /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:472: Warning 302: previous definition of 'isNormal'. /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:2087: Warning 302: Identifier 'isEquivalent' redefined (ignored), /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:473: Warning 302: previous definition of 'isEquivalent'. /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:2091: Warning 302: Identifier 'isEquivalent' redefined (ignored), /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:474: Warning 302: previous definition of 'isEquivalent'. /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:2095: Warning 302: Identifier 'isEquivalent' redefined (ignored), /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:475: Warning 302: previous definition of 'isEquivalent'. /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:2099: Warning 302: Identifier 'normalize' redefined (ignored), /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:477: Warning 302: previous definition of 'normalize'. /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:2103: Warning 302: Identifier 'normalize' redefined (ignored), /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:478: Warning 302: previous definition of 'normalize'. Processing types... /Users/victor/src/csound6/frontends/CsoundAC/Event.hpp:72: Warning 401: Nothing known about base class 'Eigen::VectorXd'. Ignored. /Users/victor/src/csound6/frontends/CsoundAC/Midifile.hpp:129: Warning 401: Nothing known about base class 'std::map< int,double >'. Ignored. /Users/victor/src/csound6/frontends/CsoundAC/Midifile.hpp:129: Warning 401: Maybe you forgot to instantiate 'std::map< int,double >' using %template. /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:507: Warning 401: Nothing known about base class 'Eigen::MatrixXd'. Ignored. C++ analysis... Generating wrappers... /Users/victor/src/csound6/frontends/CsoundAC/Midifile.hpp:116: Warning 503: Can't wrap 'operator <' unless renamed to a valid identifier. /Users/victor/src/csound6/frontends/CsoundAC/Node.hpp:89: Warning 473: Returning a pointer or reference in a director method is not recommended. /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:456: Warning 462: Unable to set dimensionless array variable /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:1446: Warning 509: Overloaded method csound::euclidean(csound::Chord const &,csound::Chord const &) effectively ignored, /Users/victor/src/csound6/frontends/CsoundAC/ChordSpace.hpp:461: Warning 509: as it is shadowed by csound::euclidean(csound::Chord const &,csound::Chord const &). On 5 Jun 2013, at 20:03, Victor Lazzarini wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-06-05 20:36 |
From | Michael Gogins |
Subject | Re: [Cs-dev] CsoundAC Build Issues |
Attachments | None None |
These warnings are not real problems. Are you getting a build? Regards, Mike Michael Gogins Irreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Jun 5, 2013 at 3:10 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
|
Date | 2013-06-05 20:49 |
From | Felipe Sateler |
Subject | Re: [Cs-dev] CsoundAC Build Issues |
The va_list problem I think we already had for the csnd python wrapper. It happens because the swig wrapper doesn't quite deal ok with varargs functions. I don't quite remember the details, but because va_list is a different type in x86 than in i386, it doens't show up in 32bit builds. I think the solution we took back then was to just remove the varargs version from the .i file, because there were alternatives. Maybe somehting similar can be done? Swig documents issues with varargs: http://www.swig.org/Doc2.0/Varargs.html On Wed, Jun 5, 2013 at 3:36 PM, Michael Gogins |