Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] build failure on OSX

Date2007-01-26 16:52
FromMichael Gogins
SubjectRe: [Cs-dev] build failure on OSX
I don't see a reference to CsoundFile in your error, presumably you found it in the python_interface_wrap.cc file.

Anyway, I had similar errors, I think, on Ubuntu until I upgraded SWIG to the most recent version from www.swig.com (which involved building SWIG on my machine). This was when compiling with gcc/g++ 4.1.1.

I now have a complete build on Ubuntu 6.10 of all components of Csound, including all interfaces and Csound manual and API reference, that I plan to distribute on Debian. I am new to Debian packages, however, so that may take me a little while. I will probably try to adapt the existing Debian packager by Istvan Varga to include the new stuff.

Hope this helps,
Mike

-----Original Message-----
>From: Victor Lazzarini 
>Sent: Jan 26, 2007 11:20 AM
>To: Michael Gogins , Developer discussions 
>Subject: Re: [Cs-dev] build failure on OSX
>
>Here's the transcript:
>
>interfaces/python_interface_wrap.cc: In function `const char* 
>swig::type_name()
>    [with Type = int]':
>interfaces/python_interface_wrap.cc:2403:   instantiated from `static 
>swig_type_info* swig::traits_info::type_info() [with Type = int]'
>interfaces/python_interface_wrap.cc:2410:   instantiated from 
>`swig_type_info* swig::type_info() [with Type = int]'
>interfaces/python_interface_wrap.cc:2444:   instantiated from `static 
>PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = int]'
>interfaces/python_interface_wrap.cc:2450:   instantiated from `static 
>PyObject* swig::traits_from::from(const Type&) [with Type = int]'
>interfaces/python_interface_wrap.cc:2462:   instantiated from `PyObject* 
>swig::from(const Type&) [with Type = int]'
>interfaces/python_interface_wrap.cc:3192:   instantiated from here
>interfaces/python_interface_wrap.cc:2393: error: 'struct swig::traits' 
>has
>    no member named 'type_name'
>interfaces/python_interface_wrap.cc: In function `const char* 
>swig::type_name()
>    [with Type = std::string]':
>interfaces/python_interface_wrap.cc:2403:   instantiated from `static 
>swig_type_info* swig::traits_info::type_info() [with Type = std::string]'
>interfaces/python_interface_wrap.cc:2410:   instantiated from 
>`swig_type_info* swig::type_info() [with Type = std::string]'
>interfaces/python_interface_wrap.cc:2444:   instantiated from `static 
>PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = 
>std::string]'
>interfaces/python_interface_wrap.cc:2450:   instantiated from `static 
>PyObject* swig::traits_from::from(const Type&) [with Type = std::string]'
>interfaces/python_interface_wrap.cc:2462:   instantiated from `PyObject* 
>swig::from(const Type&) [with Type = std::string]'
>interfaces/python_interface_wrap.cc:3207:   instantiated from here
>interfaces/python_interface_wrap.cc:2393: error: 'struct
>    swig::traits' has no member named 'type_name'
>interfaces/python_interface_wrap.cc: In function `const char* 
>swig::type_name()
>    [with Type = std::pair]':
>interfaces/python_interface_wrap.cc:2403:   instantiated from `static 
>swig_type_info* swig::traits_info::type_info() [with Type = 
>std::pair]'
>interfaces/python_interface_wrap.cc:2410:   instantiated from 
>`swig_type_info* swig::type_info() [with Type = std::pairstd::string>]'
>interfaces/python_interface_wrap.cc:2444:   instantiated from `static 
>PyObject* swig::traits_from_ptr::from(Type*, int) [with Type = 
>std::pair]'
>interfaces/python_interface_wrap.cc:2450:   instantiated from `static 
>PyObject* swig::traits_from::from(const Type&) [with Type = 
>std::pair]'
>interfaces/python_interface_wrap.cc:2462:   instantiated from `PyObject* 
>swig::from(const Type&) [with Type = std::pair]'
>interfaces/python_interface_wrap.cc:3222:   instantiated from here
>interfaces/python_interface_wrap.cc:2393: error: 'struct
>    swig::traits >' has no member named '
>    type_name'
>interfaces/python_interface_wrap.cc: In function `bool swig::check(PyObject*)
>    [with Type = std::pair]':
>interfaces/python_interface_wrap.cc:2935:   instantiated from `bool 
>swig::PySequence_Cont::check(bool) const [with T = std::pairstd::string>]'
>interfaces/python_interface_wrap.cc:2985:   instantiated from `static int 
>swig::traits_asptr_stdseq::asptr(PyObject*, Seq**) [with Seq = 
>std::map, std::allocatorint, std::string> > >, T = std::pair]'
>interfaces/python_interface_wrap.cc:3054:   instantiated from `static int 
>swig::traits_asptr, 
>std::allocator > > >::asptr(PyObject*, 
>std::map, std::allocator_Tp> > >**) [with K = int, T = std::string]'
>interfaces/python_interface_wrap.cc:2492:   instantiated from `int 
>swig::asptr(PyObject*, Type**) [with Type = std::mapstd::less, std::allocator > >]'
>interfaces/python_interface_wrap.cc:19127:   instantiated from here
>interfaces/python_interface_wrap.cc:2616: error: no type named `category' in `
>    struct swig::traits >'
>interfaces/python_interface_wrap.cc:2616: confused by earlier errors, 
>bailing out
>scons: *** [interfaces/python_interface_wrap.os] Error 1
>
>
>
>
>At 16:08 26/01/2007, you wrote:
>>What is the specific problem with the CsoundFile class?
>>
>>Regards,
>>Mike
>>
>>-----Original Message-----
>> >From: Victor Lazzarini 
>> >Sent: Jan 26, 2007 10:50 AM
>> >To: Developer discussions 
>> >Subject: Re: [Cs-dev] build failure on OSX
>> >
>> >...and the problem is with the CsoundFile class. For now I have
>> >#ifdef'ed it out from the OSX wrapper build, so I can get the thing
>> >to finish building.
>> >
>> >Victor
>> >
>> >At 15:33 26/01/2007, you wrote:
>> >>OSX interfaces does not build any more. I get a stream of
>> >>errors from python_interface_wrap.cc, to do with
>> >>swig::traits etc
>> >>
>> >>Suggestions?
>> >>Who added this bit code, by the way?
>> >>
>> >>Victor Lazzarini
>> >>Music Technology Laboratory
>> >>Music Department
>> >>National University of Ireland, Maynooth
>> >>
>> >>
>> >>-------------------------------------------------------------------------
>> >>Take Surveys. Earn Cash. Influence the Future of IT
>> >>Join SourceForge.net's Techsay panel and you'll get the chance to share 
>> your
>> >>opinions on IT & business topics through brief surveys - and earn cash
>> >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >>_______________________________________________
>> >>Csound-devel mailing list
>> >>Csound-devel@lists.sourceforge.net
>> >>https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> >Victor Lazzarini
>> >Music Technology Laboratory
>> >Music Department
>> >National University of Ireland, Maynooth
>> >
>> >
>> >-------------------------------------------------------------------------
>> >Take Surveys. Earn Cash. Influence the Future of IT
>> >Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> >opinions on IT & business topics through brief surveys - and earn cash
>> >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >_______________________________________________
>> >Csound-devel mailing list
>> >Csound-devel@lists.sourceforge.net
>> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>opinions on IT & business topics through brief surveys - and earn cash
>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth 
>




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net