| So, are you saying the typemaps are still there, that they work on Linux but not on OS X? In that case check out your SWIG versions and maybe search the SWIG lists.
Regards,
Mike
-----Original Message-----
>From: Victor Lazzarini
>Sent: Mar 21, 2006 5:33 PM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] python wrapper broken on OSX
>
>Would you be able to show me how to use the typemap? Does it
>map say a string list to char ** ? That's the code I was
>using before,
>with a list, but it does not like it anymore. However, the
>Csound class
>should work, as it calls the C API anyway. So there is
>something else
>there. I was using your CppSound class on Linux earlier
>today and it
>was fine there, but nothing works on OSX.
>
>Victor
>
>>
>> char** should have a SWIG typemap for a Python sequence of
>> some kind, which probably has inadvertently been removed.
>> I'll check the sources.
>>
>> Regards,
>> Mike
>>
>> -----Original Message-----
>> >From: Victor Lazzarini
>> >Sent: Mar 21, 2006 2:25 PM
>> >To: csound-devel@lists.sourceforge.net
>> >Subject: [Cs-dev] python wrapper broken on OSX
>> >
>> >I don't know when this happened, but it looks like
>> >it was before the Feb 1 release. The python wrapper
>> >is not working on OSX. Attempts to compile a
>> >csd crash csound lib ('csound tidy up: bus error').
>> >
>> >This is with the Csound class, or its derivatives. I
>> >can't use csnd.csoundCompile( ) because it expects
>> >a char ** for its third argument, which I don't think
>> >exists in Python.
>> >
>> >The test.py script in /interfaces crashes, so do
>> >the examples in /examples.
>> >
>> >The library lib_csnd seems to work fine with
>> >C++ host code. So does lib_jcsound (as far as
>> >I can see). So the problem seems to be only
>> >Python-related.
>> >
>> >Any clues? Could it be caused by the experimental
>> >'director' classes.
>> >
>> >Victor
>> >
>> >
>> >-------------------------------------------------------
>> >This SF.Net email is sponsored by xPML, a groundbreaking
>> scripting language >that extends applications into web and
>> mobile media. Attend the live webcast >and join the prime
>> developer group breaking into this new coding territory!
>> >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=24
>> 1720&dat=121642
>> >_______________________________________________
>> >Csound-devel mailing list
>> >Csound-devel@lists.sourceforge.net
>> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by xPML, a groundbreaking
>> scripting language that extends applications into web and
>> mobile media. Attend the live webcast and join the prime
>> developer group breaking into this new coding territory!
>> http://sel.as-us.falkag.net/sel?
>cmd=lnk&kid=110944&bid=241720&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by xPML, a groundbreaking scripting language
>that extends applications into web and mobile media. Attend the live webcast
>and join the prime developer group breaking into this new coding territory!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |