Csound Csound-dev Csound-tekno Search About

[Csnd] csound and processing

Date2013-04-29 23:23
FromMartin Huenniger
Subject[Csnd] csound and processing
Hi list,

a friend of mine asked me how to use csound with processing. We found out that there's a project named csoundo, which is java based and which can be installed very easy. After trying to compile the examples, we get a lot of error messages about missing class definitions and some research on the internet provided me with the fact that a java archive named "csnd.jar" is missing. I'm trying to find this file for a while now with no result. I ended up compiling the java-files in the csound-android package into a a csnd.jar but this doesn't work, since it is linked against the andoid sources (of course...although the missing class errors are gone) I tried to compile the Csound source code, because I hoped the interfaces directory might provide a solution, but I get a lot of compiler errors when building the python bindings and I am too lazy to find out where this errors come from. So, my question is: Where or how can I get a decent csnd.jar for Mac OS X?

Best,
Martin

PS: I'll provide you with the compiler error just in case it might help:

[ 76%] Building CXX object interfaces/CMakeFiles/_csnd.dir/python_interfacePYTHON_wrap.cxx.o
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:867: error: ‘PyString_AsString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PySwigClientData* PySwigClientData_New(PyObject*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1258: error: ‘PyClass_Check’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_format(const char*, PySwigObject*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1331: error: ‘PyString_FromString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1333: error: ‘PyString_Format’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_repr(PySwigObject*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_AsString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_FromFormat’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1371: error: ‘PyString_ConcatAndDel’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘int PySwigObject_print(PySwigObject*, FILE*, int)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1385: error: ‘PyString_AsString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_str(PySwigObject*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1398: error: ‘PyString_FromString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyTypeObject* _PySwigObject_type()’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: ‘coercion’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected `}' before numeric constant
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*)’
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*)’ to ‘int (*)(PyObject*)’
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘int (*)(PyObject*)’ to ‘PyObject* (*)(PyObject*)’
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected ‘,’ or ‘;’ before numeric constant
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: At global scope:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1621: error: expected unqualified-id before ‘if’
In file included from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++io.h:43,
                 from /usr/include/c++/4.2.1/iosfwd:46,
                 from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
                 from /usr/include/c++/4.2.1/bits/char_traits.h:46,
                 from /usr/include/c++/4.2.1/string:47,
                 from /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:2484:
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected `}' before end of line
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected declaration before end of line
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

_________________________
Dr. rer. nat. Martin Hünniger
martinhuenniger.de
martin.huenniger@yahoo.de
soundcloud.com/a_s_tarantoga






Date2013-04-29 23:29
FromSteven Yi
SubjectRe: [Csnd] csound and processing
Hi Martin,

You should be able to find it at:

./Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Java/csnd.jar

or

./Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Java/csnd.jar

I don't know if Csoundo uses doubles or floats build of csound, but
you can try the first one, then if that doesn't work, the second.  As
a note, OSX installers have a nice feature that after you start it,
before installing anything, you can go to the File menu and choose
"Show Files".  From there you can do a search for "csnd.jar" and it
will show where the file will be installed.

All best!
steven

On Mon, Apr 29, 2013 at 11:23 PM, Martin Huenniger
 wrote:
> Hi list,
>
> a friend of mine asked me how to use csound with processing. We found out that there's a project named csoundo, which is java based and which can be installed very easy. After trying to compile the examples, we get a lot of error messages about missing class definitions and some research on the internet provided me with the fact that a java archive named "csnd.jar" is missing. I'm trying to find this file for a while now with no result. I ended up compiling the java-files in the csound-android package into a a csnd.jar but this doesn't work, since it is linked against the andoid sources (of course...although the missing class errors are gone) I tried to compile the Csound source code, because I hoped the interfaces directory might provide a solution, but I get a lot of compiler errors when building the python bindings and I am too lazy to find out where this errors come from. So, my question is: Where or how can I get a decent csnd.jar for Mac OS X?
>
> Best,
> Martin
>
> PS: I'll provide you with the compiler error just in case it might help:
>
> [ 76%] Building CXX object interfaces/CMakeFiles/_csnd.dir/python_interfacePYTHON_wrap.cxx.o
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:867: error: ‘PyString_AsString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PySwigClientData* PySwigClientData_New(PyObject*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1258: error: ‘PyClass_Check’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_format(const char*, PySwigObject*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1331: error: ‘PyString_FromString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1333: error: ‘PyString_Format’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_repr(PySwigObject*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_AsString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_FromFormat’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1371: error: ‘PyString_ConcatAndDel’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘int PySwigObject_print(PySwigObject*, FILE*, int)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1385: error: ‘PyString_AsString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_str(PySwigObject*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1398: error: ‘PyString_FromString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyTypeObject* _PySwigObject_type()’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: ‘coercion’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected `}' before numeric constant
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*)’
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*)’ to ‘int (*)(PyObject*)’
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘int (*)(PyObject*)’ to ‘PyObject* (*)(PyObject*)’
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected ‘,’ or ‘;’ before numeric constant
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: At global scope:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1621: error: expected unqualified-id before ‘if’
> In file included from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++io.h:43,
>                  from /usr/include/c++/4.2.1/iosfwd:46,
>                  from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
>                  from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>                  from /usr/include/c++/4.2.1/string:47,
>                  from /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:2484:
> /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected `}' before end of line
> /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected declaration before end of line
> 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
>
> _________________________
> Dr. rer. nat. Martin Hünniger
> martinhuenniger.de
> martin.huenniger@yahoo.de
> soundcloud.com/a_s_tarantoga
>
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Date2013-04-30 03:04
FromAndres Cabrera
SubjectRe: [Csnd] csound and processing
Csoundo is a project that will greatly benefit from the thread safe channel and table calls in Csound6 once it's released.

Cheers,
Andrés


On Mon, Apr 29, 2013 at 3:23 PM, Martin Huenniger <a_s_tarantoga@yahoo.de> wrote:
Hi list,

a friend of mine asked me how to use csound with processing. We found out that there's a project named csoundo, which is java based and which can be installed very easy. After trying to compile the examples, we get a lot of error messages about missing class definitions and some research on the internet provided me with the fact that a java archive named "csnd.jar" is missing. I'm trying to find this file for a while now with no result. I ended up compiling the java-files in the csound-android package into a a csnd.jar but this doesn't work, since it is linked against the andoid sources (of course...although the missing class errors are gone) I tried to compile the Csound source code, because I hoped the interfaces directory might provide a solution, but I get a lot of compiler errors when building the python bindings and I am too lazy to find out where this errors come from. So, my question is: Where or how can I get a decent csnd.jar for Mac OS X?

Best,
Martin

PS: I'll provide you with the compiler error just in case it might help:

[ 76%] Building CXX object interfaces/CMakeFiles/_csnd.dir/python_interfacePYTHON_wrap.cxx.o
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:867: error: ‘PyString_AsString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PySwigClientData* PySwigClientData_New(PyObject*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1258: error: ‘PyClass_Check’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_format(const char*, PySwigObject*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1331: error: ‘PyString_FromString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1333: error: ‘PyString_Format’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_repr(PySwigObject*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_AsString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_FromFormat’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1371: error: ‘PyString_ConcatAndDel’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘int PySwigObject_print(PySwigObject*, FILE*, int)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1385: error: ‘PyString_AsString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_str(PySwigObject*)’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1398: error: ‘PyString_FromString’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyTypeObject* _PySwigObject_type()’:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: ‘coercion’ was not declared in this scope
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected `}' before numeric constant
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*)’
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*)’ to ‘int (*)(PyObject*)’
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘int (*)(PyObject*)’ to ‘PyObject* (*)(PyObject*)’
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected ‘,’ or ‘;’ before numeric constant
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: At global scope:
/Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1621: error: expected unqualified-id before ‘if’
In file included from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++io.h:43,
                 from /usr/include/c++/4.2.1/iosfwd:46,
                 from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
                 from /usr/include/c++/4.2.1/bits/char_traits.h:46,
                 from /usr/include/c++/4.2.1/string:47,
                 from /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:2484:
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected `}' before end of line
/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected declaration before end of line
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

_________________________
Dr. rer. nat. Martin Hünniger
martinhuenniger.de
martin.huenniger@yahoo.de
soundcloud.com/a_s_tarantoga






Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-04-30 06:49
FromMartin Huenniger
SubjectRe: [Csnd] csound and processing
Hi Steven,

thanks for the help. It works now. And thaks for the tip with the installer. I'll check it out.

Best,
Martin

Am 30.04.2013 um 00:29 schrieb Steven Yi:

> Hi Martin,
> 
> You should be able to find it at:
> 
> ./Library/Frameworks/CsoundLib64.framework/Versions/5.2/Resources/Java/csnd.jar
> 
> or
> 
> ./Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Java/csnd.jar
> 
> I don't know if Csoundo uses doubles or floats build of csound, but
> you can try the first one, then if that doesn't work, the second.  As
> a note, OSX installers have a nice feature that after you start it,
> before installing anything, you can go to the File menu and choose
> "Show Files".  From there you can do a search for "csnd.jar" and it
> will show where the file will be installed.
> 
> All best!
> steven
> 
> On Mon, Apr 29, 2013 at 11:23 PM, Martin Huenniger
>  wrote:
>> Hi list,
>> 
>> a friend of mine asked me how to use csound with processing. We found out that there's a project named csoundo, which is java based and which can be installed very easy. After trying to compile the examples, we get a lot of error messages about missing class definitions and some research on the internet provided me with the fact that a java archive named "csnd.jar" is missing. I'm trying to find this file for a while now with no result. I ended up compiling the java-files in the csound-android package into a a csnd.jar but this doesn't work, since it is linked against the andoid sources (of course...although the missing class errors are gone) I tried to compile the Csound source code, because I hoped the interfaces directory might provide a solution, but I get a lot of compiler errors when building the python bindings and I am too lazy to find out where this errors come from. So, my question is: Where or how can I get a decent csnd.jar for Mac OS X?
>> 
>> Best,
>> Martin
>> 
>> PS: I'll provide you with the compiler error just in case it might help:
>> 
>> [ 76%] Building CXX object interfaces/CMakeFiles/_csnd.dir/python_interfacePYTHON_wrap.cxx.o
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:867: error: ‘PyString_AsString’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PySwigClientData* PySwigClientData_New(PyObject*)’:
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1258: error: ‘PyClass_Check’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_format(const char*, PySwigObject*)’:
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1331: error: ‘PyString_FromString’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1333: error: ‘PyString_Format’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_repr(PySwigObject*)’:
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_AsString’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_FromFormat’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1371: error: ‘PyString_ConcatAndDel’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘int PySwigObject_print(PySwigObject*, FILE*, int)’:
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1385: error: ‘PyString_AsString’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_str(PySwigObject*)’:
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1398: error: ‘PyString_FromString’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyTypeObject* _PySwigObject_type()’:
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: ‘coercion’ was not declared in this scope
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected `}' before numeric constant
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*)’
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*)’ to ‘int (*)(PyObject*)’
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘int (*)(PyObject*)’ to ‘PyObject* (*)(PyObject*)’
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected ‘,’ or ‘;’ before numeric constant
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: At global scope:
>> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1621: error: expected unqualified-id before ‘if’
>> In file included from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++io.h:43,
>>                 from /usr/include/c++/4.2.1/iosfwd:46,
>>                 from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
>>                 from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>>                 from /usr/include/c++/4.2.1/string:47,
>>                 from /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:2484:
>> /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected `}' before end of line
>> /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected declaration before end of line
>> 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
>> 
>> _________________________
>> Dr. rer. nat. Martin Hünniger
>> martinhuenniger.de
>> martin.huenniger@yahoo.de
>> soundcloud.com/a_s_tarantoga
>> 
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

_________________________
Dr. rer. nat. Martin Hünniger
martinhuenniger.de
martin.huenniger@yahoo.de
soundcloud.com/a_s_tarantoga






Date2013-04-30 06:50
FromMartin Huenniger
SubjectRe: [Csnd] csound and processing
ok. I'm curious :-)


Am 30.04.2013 um 04:04 schrieb Andres Cabrera:

> Csoundo is a project that will greatly benefit from the thread safe channel and table calls in Csound6 once it's released.
> 
> Cheers,
> Andrés
> 
> 
> On Mon, Apr 29, 2013 at 3:23 PM, Martin Huenniger  wrote:
> Hi list,
> 
> a friend of mine asked me how to use csound with processing. We found out that there's a project named csoundo, which is java based and which can be installed very easy. After trying to compile the examples, we get a lot of error messages about missing class definitions and some research on the internet provided me with the fact that a java archive named "csnd.jar" is missing. I'm trying to find this file for a while now with no result. I ended up compiling the java-files in the csound-android package into a a csnd.jar but this doesn't work, since it is linked against the andoid sources (of course...although the missing class errors are gone) I tried to compile the Csound source code, because I hoped the interfaces directory might provide a solution, but I get a lot of compiler errors when building the python bindings and I am too lazy to find out where this errors come from. So, my question is: Where or how can I get a decent csnd.jar for Mac OS X?
> 
> Best,
> Martin
> 
> PS: I'll provide you with the compiler error just in case it might help:
> 
> [ 76%] Building CXX object interfaces/CMakeFiles/_csnd.dir/python_interfacePYTHON_wrap.cxx.o
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:867: error: ‘PyString_AsString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PySwigClientData* PySwigClientData_New(PyObject*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1258: error: ‘PyClass_Check’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_format(const char*, PySwigObject*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1331: error: ‘PyString_FromString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1333: error: ‘PyString_Format’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_repr(PySwigObject*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_AsString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1363: error: ‘PyString_FromFormat’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1371: error: ‘PyString_ConcatAndDel’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘int PySwigObject_print(PySwigObject*, FILE*, int)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1385: error: ‘PyString_AsString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyObject* PySwigObject_str(PySwigObject*)’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1398: error: ‘PyString_FromString’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: In function ‘PyTypeObject* _PySwigObject_type()’:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: ‘coercion’ was not declared in this scope
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected `}' before numeric constant
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*, PyObject*, PyObject*)’ to ‘PyObject* (*)(PyObject*)’
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘PyObject* (*)(PyObject*)’ to ‘int (*)(PyObject*)’
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: invalid conversion from ‘int (*)(PyObject*)’ to ‘PyObject* (*)(PyObject*)’
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1606: error: expected ‘,’ or ‘;’ before numeric constant
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx: At global scope:
> /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:1621: error: expected unqualified-id before ‘if’
> In file included from /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++io.h:43,
>                  from /usr/include/c++/4.2.1/iosfwd:46,
>                  from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
>                  from /usr/include/c++/4.2.1/bits/char_traits.h:46,
>                  from /usr/include/c++/4.2.1/string:47,
>                  from /Users/pirx/Downloads/Csound5.19.01/interfaces/python_interfacePYTHON_wrap.cxx:2484:
> /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected `}' before end of line
> /usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/gthr.h:33: error: expected declaration before end of line
> 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
> 
> _________________________
> Dr. rer. nat. Martin Hünniger
> martinhuenniger.de
> martin.huenniger@yahoo.de
> soundcloud.com/a_s_tarantoga
> 
> 
> 
> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 

_________________________
Dr. rer. nat. Martin Hünniger
martinhuenniger.de
martin.huenniger@yahoo.de
soundcloud.com/a_s_tarantoga