[Cs-dev] Build issue
Date | 2013-04-06 19:17 |
From | Michael Gogins |
Subject | [Cs-dev] Build issue |
Attachments | None None |
On Ubuntu with Csound 6 Git head see below. controlChannel types not defined in cs_glue.hpp.
[ 70%] Swig source Language subdirectory: python Search paths:
./ /usr/include/ /home/mkg/csound/./H/ /home/mkg/csound/./Engine/ /home/mkg/csound/./ /home/mkg/csound6/ /home/mkg/csound/interfaces/
/usr/include/python2.7/ ./swig_lib/python/ /usr/share/swig2.0/python/ ./swig_lib/ /usr/share/swig2.0/ Preprocessing... Starting language-specific parse...
Processing types... C++ analysis... Generating wrappers... /home/mkg/csound/./H/csound.h:464: Warning 451: Setting a const char * variable may leak memory. cs_glue.hpp:507: Warning 473: Returning a pointer or reference in a director method is not recommended.
CppSound.hpp:36: Warning 453: Can't apply (std::vector< double > *INPUT). No typemaps are defined. [ 71%] Building CXX object interfaces/CMakeFiles/_csnd.dir/python_interfacePYTHON_wrap.cxx.o
In file included from /home/mkg/csound6/interfaces/python_interfacePYTHON_wrap.cxx:3630:0: /home/mkg/csound6/interfaces/cs_glue.hpp:82:5: error: ‘controlChannelInfo_t’ does not name a type /home/mkg/csound6/interfaces/cs_glue.hpp:86:37: error: ‘controlChannelHints_t’ has not been declared
make[2]: *** [interfaces/CMakeFiles/_csnd.dir/python_interfacePYTHON_wrap.cxx.o] Error 1 make[1]: *** [interfaces/CMakeFiles/_csnd.dir/all] Error 2 make: *** [all] Error 2 Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-04-06 19:57 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Build issue |
Attachments | None None |
I think that is andres work. Did you try deleting files and rebuilding? On 6 Apr 2013, at 19:17, 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-04-06 20:08 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Build issue |
Attachments | None None |
Yes, I did try deleting all files and rebuilding. Regards, Mike On Sat, Apr 6, 2013 at 2:57 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-04-06 21:03 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Build issue |
Attachments | None None |
It is strange because it builds here on OSX. The structs in question are defined in csound.h. Victor On 6 Apr 2013, at 20:08, 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-04-06 21:18 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Build issue |
Attachments | None None |
I've just pulled and built in Ubuntu, without any issues. On 6 Apr 2013, at 20:08, 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-04-06 21:25 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Build issue |
Attachments | None None |
The csoundac python and lua interfaces? On Apr 6, 2013 4:18 PM, "Victor Lazzarini" <Victor.Lazzarini@nuim.ie> wrote:
|
Date | 2013-04-06 21:38 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Build issue |
Attachments | None None |
The csoundac python interface for sure. On 6 Apr 2013, at 21:25, 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-04-07 04:30 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] Build issue |
Hi Michael, It's building for me both with csound ac python and lua interfaces. I don't build the interfaces because I don't have SWIG 2 on this system, but if I force a recompile of cs_glue.hpp, where you are getting the error, it works. I guess this depends on having csound.h included before cs_glue.hpp, so maybe cs_glue should include csound.h within it? However, looking again I also see some functions and the CSOUND struct being used there, so I'm not sure what's going on. Cheers, Andrés On Sat, Apr 6, 2013 at 1:38 PM, Victor Lazzarini |