|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
build failure with 5.11 on linuxThe python interface fails to build:
interfaces/python_interface_wrap.cc: In function ‘PyObject* _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’: interfaces/python_interface_wrap.cc:35536: error: invalid array assignment scons: *** [interfaces/python_interface_wrap.os] Error 1 Apparently its not legal to do dereference a va_list pointer. Any clues? Saludos, Felipe Sateler ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxThis is a bug ib SWIG that I complained about some months ago. Some
versions do not have this problem. I first found it on X86_64 but it seems OK now. I have SWIG Version 1.3.36 which os OK. Version in earlier Linux release failed and I applied the "obvious" gand edit every time. ==John ff > The python interface fails to build: > > interfaces/python_interface_wrap.cc: In function âPyObject* > _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)â: > interfaces/python_interface_wrap.cc:35536: error: invalid array assignment > scons: *** [interfaces/python_interface_wrap.os] Error 1 > > > > Apparently its not legal to do dereference a va_list pointer. Any clues? > > > Saludos, > Felipe Sateler > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxNo such problems on Windows and OSX. I will try Linux later today.
There is something funny though: the cppSound class does not have a setPythonMessageCallback() anymore (which used to call pythonMessageCallback() ), defined in PyMsg.cpp. I suspect that the SWIG interface is looking in that file and wrapping these when it shouldn't (but this might not be related to the problem). Victor ----- Original Message ----- From: "Felipe Sateler" <fsateler@...> To: "Developer discussions" <csound-devel@...> Sent: Monday, September 28, 2009 5:14 AM Subject: [Cs-dev] build failure with 5.11 on linux > The python interface fails to build: > > interfaces/python_interface_wrap.cc: In function ‘PyObject* > _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’: > interfaces/python_interface_wrap.cc:35536: error: invalid array assignment > scons: *** [interfaces/python_interface_wrap.os] Error 1 > > > > Apparently its not legal to do dereference a va_list pointer. Any clues? > > > Saludos, > Felipe Sateler > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxWhat is the "obvious" fix?
I seem to remember we filed a bug in swig, but I can't remember the outcome of that. I think it had to do with vararg functions, but there was not a problem because there were alternative versions so the vararg one just got excluded from the .i file. On Mon, 2009-09-28 at 08:01 +0100, victor wrote: > No such problems on Windows and OSX. I will try Linux later today. > There is something funny though: the cppSound class does not have > a setPythonMessageCallback() anymore (which used to call > pythonMessageCallback() ), defined in PyMsg.cpp. I suspect that > the SWIG interface is looking in that file and wrapping these when it > shouldn't (but this might not be related to the problem). > > Victor > > ----- Original Message ----- > From: "Felipe Sateler" <fsateler@...> > To: "Developer discussions" <csound-devel@...> > Sent: Monday, September 28, 2009 5:14 AM > Subject: [Cs-dev] build failure with 5.11 on linux > > > > The python interface fails to build: > > > > interfaces/python_interface_wrap.cc: In function ‘PyObject* > > _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’: > > interfaces/python_interface_wrap.cc:35536: error: invalid array assignment > > scons: *** [interfaces/python_interface_wrap.os] Error 1 > > > > > > > > Apparently its not legal to do dereference a va_list pointer. Any clues? > > > > > > Saludos, > > Felipe Sateler > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9-12, 2009. Register > > now! > > http://p.sf.net/sfu/devconf > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@... > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel -- Saludos, Felipe Sateler ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linux> What is the "obvious" fix?
> I seem to remember we filed a bug in swig, but I can't remember the > outcome of that. I think it had to do with vararg functions, but there > was not a problem because there were alternative versions so the vararg > one just got excluded from the .i file. > Not sure I can remember now, but the error message told be where to look and it gratuitously defined a variable as a pointer to a va_list and then only used it direct do a litte removal of pointers was all it needed. ==John ff ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxI found the bug in question, the solution is to provide a ... version of
the function besides the va_list one, and then %ignore the va_list one (swig can handle the ... version). On Mon, 2009-09-28 at 14:04 -0400, Felipe Sateler wrote: > What is the "obvious" fix? > I seem to remember we filed a bug in swig, but I can't remember the > outcome of that. I think it had to do with vararg functions, but there > was not a problem because there were alternative versions so the vararg > one just got excluded from the .i file. > > On Mon, 2009-09-28 at 08:01 +0100, victor wrote: > > No such problems on Windows and OSX. I will try Linux later today. > > There is something funny though: the cppSound class does not have > > a setPythonMessageCallback() anymore (which used to call > > pythonMessageCallback() ), defined in PyMsg.cpp. I suspect that > > the SWIG interface is looking in that file and wrapping these when it > > shouldn't (but this might not be related to the problem). > > > > Victor > > > > ----- Original Message ----- > > From: "Felipe Sateler" <fsateler@...> > > To: "Developer discussions" <csound-devel@...> > > Sent: Monday, September 28, 2009 5:14 AM > > Subject: [Cs-dev] build failure with 5.11 on linux > > > > > > > The python interface fails to build: > > > > > > interfaces/python_interface_wrap.cc: In function ‘PyObject* > > > _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’: > > > interfaces/python_interface_wrap.cc:35536: error: invalid array assignment > > > scons: *** [interfaces/python_interface_wrap.os] Error 1 > > > > > > > > > > > > Apparently its not legal to do dereference a va_list pointer. Any clues? > > > > > > > > > Saludos, > > > Felipe Sateler > > > > > > ------------------------------------------------------------------------------ > > > Come build with us! The BlackBerry® Developer Conference in SF, CA > > > is the only developer event you need to attend this year. Jumpstart your > > > developing skills, take BlackBerry mobile applications to market and stay > > > ahead of the curve. Join us from November 9-12, 2009. Register > > > now! > > > http://p.sf.net/sfu/devconf > > > _______________________________________________ > > > Csound-devel mailing list > > > Csound-devel@... > > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9-12, 2009. Register now! > > http://p.sf.net/sfu/devconf > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@... > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > -- Saludos, Felipe Sateler ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxI have a suspicion that the function wrapped by swig is not even
callable from the API (I can't see where it can be called from by looking a CppSound.hpp and PyMsgcb.cpp) Victor On 28 Sep 2009, at 19:14, Felipe Sateler wrote: > I found the bug in question, the solution is to provide a ... > version of > the function besides the va_list one, and then %ignore the va_list one > (swig can handle the ... version). > > On Mon, 2009-09-28 at 14:04 -0400, Felipe Sateler wrote: >> What is the "obvious" fix? >> I seem to remember we filed a bug in swig, but I can't remember the >> outcome of that. I think it had to do with vararg functions, but >> there >> was not a problem because there were alternative versions so the >> vararg >> one just got excluded from the .i file. >> >> On Mon, 2009-09-28 at 08:01 +0100, victor wrote: >>> No such problems on Windows and OSX. I will try Linux later today. >>> There is something funny though: the cppSound class does not have >>> a setPythonMessageCallback() anymore (which used to call >>> pythonMessageCallback() ), defined in PyMsg.cpp. I suspect that >>> the SWIG interface is looking in that file and wrapping these when >>> it >>> shouldn't (but this might not be related to the problem). >>> >>> Victor >>> >>> ----- Original Message ----- >>> From: "Felipe Sateler" <fsateler@...> >>> To: "Developer discussions" <csound-devel@...> >>> Sent: Monday, September 28, 2009 5:14 AM >>> Subject: [Cs-dev] build failure with 5.11 on linux >>> >>> >>>> The python interface fails to build: >>>> >>>> interfaces/python_interface_wrap.cc: In function ‘PyObject* >>>> _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’: >>>> interfaces/python_interface_wrap.cc:35536: error: invalid array >>>> assignment >>>> scons: *** [interfaces/python_interface_wrap.os] Error 1 >>>> >>>> >>>> >>>> Apparently its not legal to do dereference a va_list pointer. Any >>>> clues? >>>> >>>> >>>> Saludos, >>>> Felipe Sateler >>>> >>>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry® Developer Conference in >>>> SF, CA >>>> is the only developer event you need to attend this year. >>>> Jumpstart your >>>> developing skills, take BlackBerry mobile applications to market >>>> and stay >>>> ahead of the curve. Join us from November 9-12, 2009. Register >>>> now! >>>> http://p.sf.net/sfu/devconf >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry® Developer Conference in >>> SF, CA >>> is the only developer event you need to attend this year. >>> Jumpstart your >>> developing skills, take BlackBerry mobile applications to market >>> and stay >>> ahead of the curve. Join us from November 9-12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconf >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> > > > -- > Saludos, > Felipe Sateler > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf_______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxpython_interface.i has a bunch of C++ code. Which includes
pythonMessageCallback(). On Mon, 2009-09-28 at 19:34 +0100, Victor Lazzarini wrote: > I have a suspicion that the function wrapped by swig is not even > callable > from the API (I can't see where it can be called from by looking a > CppSound.hpp > and PyMsgcb.cpp) > > Victor > > On 28 Sep 2009, at 19:14, Felipe Sateler wrote: > > > I found the bug in question, the solution is to provide a ... > > version of > > the function besides the va_list one, and then %ignore the va_list one > > (swig can handle the ... version). > > > > On Mon, 2009-09-28 at 14:04 -0400, Felipe Sateler wrote: > >> What is the "obvious" fix? > >> I seem to remember we filed a bug in swig, but I can't remember the > >> outcome of that. I think it had to do with vararg functions, but > >> there > >> was not a problem because there were alternative versions so the > >> vararg > >> one just got excluded from the .i file. > >> > >> On Mon, 2009-09-28 at 08:01 +0100, victor wrote: > >>> No such problems on Windows and OSX. I will try Linux later today. > >>> There is something funny though: the cppSound class does not have > >>> a setPythonMessageCallback() anymore (which used to call > >>> pythonMessageCallback() ), defined in PyMsg.cpp. I suspect that > >>> the SWIG interface is looking in that file and wrapping these when > >>> it > >>> shouldn't (but this might not be related to the problem). > >>> > >>> Victor > >>> > >>> ----- Original Message ----- > >>> From: "Felipe Sateler" <fsateler@...> > >>> To: "Developer discussions" <csound-devel@...> > >>> Sent: Monday, September 28, 2009 5:14 AM > >>> Subject: [Cs-dev] build failure with 5.11 on linux > >>> > >>> > >>>> The python interface fails to build: > >>>> > >>>> interfaces/python_interface_wrap.cc: In function ‘PyObject* > >>>> _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’: > >>>> interfaces/python_interface_wrap.cc:35536: error: invalid array > >>>> assignment > >>>> scons: *** [interfaces/python_interface_wrap.os] Error 1 > >>>> > >>>> > >>>> > >>>> Apparently its not legal to do dereference a va_list pointer. Any > >>>> clues? > >>>> > >>>> > >>>> Saludos, > >>>> Felipe Sateler > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> Come build with us! The BlackBerry® Developer Conference in > >>>> SF, CA > >>>> is the only developer event you need to attend this year. > >>>> Jumpstart your > >>>> developing skills, take BlackBerry mobile applications to market > >>>> and stay > >>>> ahead of the curve. Join us from November 9-12, 2009. Register > >>>> now! > >>>> http://p.sf.net/sfu/devconf > >>>> _______________________________________________ > >>>> Csound-devel mailing list > >>>> Csound-devel@... > >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel > >>>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Come build with us! The BlackBerry® Developer Conference in > >>> SF, CA > >>> is the only developer event you need to attend this year. > >>> Jumpstart your > >>> developing skills, take BlackBerry mobile applications to market > >>> and stay > >>> ahead of the curve. Join us from November 9-12, 2009. Register > >>> now! > >>> http://p.sf.net/sfu/devconf > >>> _______________________________________________ > >>> Csound-devel mailing list > >>> Csound-devel@... > >>> https://lists.sourceforge.net/lists/listinfo/csound-devel > >> > >> > > > > > > -- > > Saludos, > > Felipe Sateler > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart > > your > > developing skills, take BlackBerry mobile applications to market and > > stay > > ahead of the curve. Join us from November 9-12, 2009. Register > > now! > > http://p.sf.net/sfu/devconf_______________________________________________ > > Csound-devel mailing list > > Csound-devel@... > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel -- Saludos, Felipe Sateler ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxI should have known, as I wrote that code...
On 28 Sep 2009, at 19:49, Felipe Sateler wrote: > python_interface.i has a bunch of C++ code. Which includes > pythonMessageCallback(). > > On Mon, 2009-09-28 at 19:34 +0100, Victor Lazzarini wrote: >> I have a suspicion that the function wrapped by swig is not even >> callable >> from the API (I can't see where it can be called from by looking a >> CppSound.hpp >> and PyMsgcb.cpp) >> >> Victor >> >> On 28 Sep 2009, at 19:14, Felipe Sateler wrote: >> >>> I found the bug in question, the solution is to provide a ... >>> version of >>> the function besides the va_list one, and then %ignore the va_list >>> one >>> (swig can handle the ... version). >>> >>> On Mon, 2009-09-28 at 14:04 -0400, Felipe Sateler wrote: >>>> What is the "obvious" fix? >>>> I seem to remember we filed a bug in swig, but I can't remember the >>>> outcome of that. I think it had to do with vararg functions, but >>>> there >>>> was not a problem because there were alternative versions so the >>>> vararg >>>> one just got excluded from the .i file. >>>> >>>> On Mon, 2009-09-28 at 08:01 +0100, victor wrote: >>>>> No such problems on Windows and OSX. I will try Linux later today. >>>>> There is something funny though: the cppSound class does not have >>>>> a setPythonMessageCallback() anymore (which used to call >>>>> pythonMessageCallback() ), defined in PyMsg.cpp. I suspect that >>>>> the SWIG interface is looking in that file and wrapping these when >>>>> it >>>>> shouldn't (but this might not be related to the problem). >>>>> >>>>> Victor >>>>> >>>>> ----- Original Message ----- >>>>> From: "Felipe Sateler" <fsateler@...> >>>>> To: "Developer discussions" <csound-devel@...> >>>>> Sent: Monday, September 28, 2009 5:14 AM >>>>> Subject: [Cs-dev] build failure with 5.11 on linux >>>>> >>>>> >>>>>> The python interface fails to build: >>>>>> >>>>>> interfaces/python_interface_wrap.cc: In function ‘PyObject* >>>>>> _wrap_CppSound_pythonMessageCallback(PyObject*, PyObject*)’: >>>>>> interfaces/python_interface_wrap.cc:35536: error: invalid array >>>>>> assignment >>>>>> scons: *** [interfaces/python_interface_wrap.os] Error 1 >>>>>> >>>>>> >>>>>> >>>>>> Apparently its not legal to do dereference a va_list pointer. Any >>>>>> clues? >>>>>> >>>>>> >>>>>> Saludos, >>>>>> Felipe Sateler >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Come build with us! The BlackBerry® Developer Conference in >>>>>> SF, CA >>>>>> is the only developer event you need to attend this year. >>>>>> Jumpstart your >>>>>> developing skills, take BlackBerry mobile applications to market >>>>>> and stay >>>>>> ahead of the curve. Join us from November 9-12, 2009. >>>>>> Register >>>>>> now! >>>>>> http://p.sf.net/sfu/devconf >>>>>> _______________________________________________ >>>>>> Csound-devel mailing list >>>>>> Csound-devel@... >>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Come build with us! The BlackBerry® Developer Conference in >>>>> SF, CA >>>>> is the only developer event you need to attend this year. >>>>> Jumpstart your >>>>> developing skills, take BlackBerry mobile applications to market >>>>> and stay >>>>> ahead of the curve. Join us from November 9-12, 2009. Register >>>>> now! >>>>> http://p.sf.net/sfu/devconf >>>>> _______________________________________________ >>>>> Csound-devel mailing list >>>>> Csound-devel@... >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>> >>> >>> -- >>> Saludos, >>> Felipe Sateler >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry® Developer Conference in >>> SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9-12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconf_______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, >> CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market >> and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > -- > Saludos, > Felipe Sateler > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf_______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxOn Mon, 2009-09-28 at 19:52 +0100, Victor Lazzarini wrote:
> I should have known, as I wrote that code... Any hint on how to fix this? I'm not comfortable about tinkering with the bindings. -- Saludos, Felipe Sateler ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxCan't you use John's fix? If it's a SWIG problem there is nothing we can do
in the bindings. Victor ----- Original Message ----- From: "Felipe Sateler" <fsateler@...> To: "Developer discussions" <csound-devel@...> Sent: Thursday, October 01, 2009 7:56 PM Subject: Re: [Cs-dev] build failure with 5.11 on linux > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf -------------------------------------------------------------------------------- > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxDebian packages need to be fully noninteractive, and patching a
generated file is _very_ likely to fail (remember that debian autobuilds csound for several architectures, with possibly different versions of built tools). As far as I understand, this is a problem in SWIG (wrong handling of va_list), but it can be easily worked around. Any function that takes va_list parameters will give trouble, but creating a ... version of the function usually is easy. I'm trying to address this, but have no success. Is it possible to avoid exporting the pythonMessageCallback function? Or is it part of the API? I'm trying to get it to build without exporting it. On Thu, 2009-10-01 at 21:17 +0100, victor wrote: > Can't you use John's fix? If it's a SWIG problem there is nothing we can do > in > the bindings. > > Victor > ----- Original Message ----- > From: "Felipe Sateler" <fsateler@...> > To: "Developer discussions" <csound-devel@...> > Sent: Thursday, October 01, 2009 7:56 PM > Subject: Re: [Cs-dev] build failure with 5.11 on linux > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9-12, 2009. Register > > now! > > http://p.sf.net/sfu/devconf > > > -------------------------------------------------------------------------------- > > > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@... > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel -- Saludos, Felipe Sateler ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxThe funny thing is that there is another PythonMessageCallback (line
107) in the interface file that uses va_list, which I don't think gets wrapped. This is the one I wrote. The problematic one is later on in the file, which is part of CppSound, (But if CppSound is derived from Csound, surely we do not need this pythonMessageCallback() because Python can use SetMessageCallback() because it's wrapped properly.) You can try this: in the interface file remove pythonMessageCallback() from where it is (extending CppSound), and place it in line 228 (before %} ) change the code on line 426 to read void setPythonMessageCallback() { self->SetMessageCallback(pythonMessageCallback); } This should stop SWIG wrapping that function (because it is not part of the CppSound class) making it just copy the C code instead. Since the C code is OK, we should be good. And as far as I can see, that function does not need to be a member of CppSound. Victor On 1 Oct 2009, at 23:12, Felipe Sateler wrote: > Debian packages need to be fully noninteractive, and patching a > generated file is _very_ likely to fail (remember that debian > autobuilds > csound for several architectures, with possibly different versions of > built tools). > > As far as I understand, this is a problem in SWIG (wrong handling of > va_list), but it can be easily worked around. Any function that takes > va_list parameters will give trouble, but creating a ... version of > the > function usually is easy. I'm trying to address this, but have no > success. > > Is it possible to avoid exporting the pythonMessageCallback > function? Or > is it part of the API? I'm trying to get it to build without exporting > it. > > On Thu, 2009-10-01 at 21:17 +0100, victor wrote: >> Can't you use John's fix? If it's a SWIG problem there is nothing >> we can do >> in >> the bindings. >> >> Victor >> ----- Original Message ----- >> From: "Felipe Sateler" <fsateler@...> >> To: "Developer discussions" <csound-devel@...> >> Sent: Thursday, October 01, 2009 7:56 PM >> Subject: Re: [Cs-dev] build failure with 5.11 on linux >> >> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry® Developer Conference in >>> SF, CA >>> is the only developer event you need to attend this year. >>> Jumpstart your >>> developing skills, take BlackBerry mobile applications to market >>> and stay >>> ahead of the curve. Join us from November 9-12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconf >> >> >> -------------------------------------------------------------------------------- >> >> >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, >> CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market >> and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > -- > Saludos, > Felipe Sateler > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf_______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxThat seems to make it. I guess swig will not try to wrap global static
functions. Can you give me a small testcase to know if it works correctly? On Thu, 2009-10-01 at 23:57 +0100, Victor Lazzarini wrote: > The funny thing is that there is another PythonMessageCallback (line > 107) in > the interface file that uses va_list, which I don't think gets > wrapped. This is > the one I wrote. The problematic one is later on in the file, which is > part of > CppSound, > > (But if CppSound is derived from Csound, surely we do not need this > pythonMessageCallback() because Python can use SetMessageCallback() > because it's wrapped properly.) > > You can try this: in the interface file remove pythonMessageCallback() > from > where it is (extending CppSound), and place it in line 228 (before %} ) > > change the code on line 426 to read > > void setPythonMessageCallback() > { > self->SetMessageCallback(pythonMessageCallback); > } > > > This should stop SWIG wrapping that function (because it is not part of > the CppSound class) making it just copy the C code instead. Since the > C code is OK, we should be good. > > And as far as I can see, that function does not need to be a member of > CppSound. > > Victor > > On 1 Oct 2009, at 23:12, Felipe Sateler wrote: > > > Debian packages need to be fully noninteractive, and patching a > > generated file is _very_ likely to fail (remember that debian > > autobuilds > > csound for several architectures, with possibly different versions of > > built tools). > > > > As far as I understand, this is a problem in SWIG (wrong handling of > > va_list), but it can be easily worked around. Any function that takes > > va_list parameters will give trouble, but creating a ... version of > > the > > function usually is easy. I'm trying to address this, but have no > > success. > > > > Is it possible to avoid exporting the pythonMessageCallback > > function? Or > > is it part of the API? I'm trying to get it to build without exporting > > it. > > > > On Thu, 2009-10-01 at 21:17 +0100, victor wrote: > >> Can't you use John's fix? If it's a SWIG problem there is nothing > >> we can do > >> in > >> the bindings. > >> > >> Victor > >> ----- Original Message ----- > >> From: "Felipe Sateler" <fsateler@...> > >> To: "Developer discussions" <csound-devel@...> > >> Sent: Thursday, October 01, 2009 7:56 PM > >> Subject: Re: [Cs-dev] build failure with 5.11 on linux > >> > >> > >>> ------------------------------------------------------------------------------ > >>> Come build with us! The BlackBerry® Developer Conference in > >>> SF, CA > >>> is the only developer event you need to attend this year. > >>> Jumpstart your > >>> developing skills, take BlackBerry mobile applications to market > >>> and stay > >>> ahead of the curve. Join us from November 9-12, 2009. Register > >>> now! > >>> http://p.sf.net/sfu/devconf > >> > >> > >> -------------------------------------------------------------------------------- > >> > >> > >>> _______________________________________________ > >>> Csound-devel mailing list > >>> Csound-devel@... > >>> https://lists.sourceforge.net/lists/listinfo/csound-devel > >>> > >> > >> > >> ------------------------------------------------------------------------------ > >> Come build with us! The BlackBerry® Developer Conference in SF, > >> CA > >> is the only developer event you need to attend this year. Jumpstart > >> your > >> developing skills, take BlackBerry mobile applications to market > >> and stay > >> ahead of the curve. Join us from November 9-12, 2009. Register > >> now! > >> http://p.sf.net/sfu/devconf > >> _______________________________________________ > >> Csound-devel mailing list > >> Csound-devel@... > >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > > > > -- > > Saludos, > > Felipe Sateler > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart > > your > > developing skills, take BlackBerry mobile applications to market and > > stay > > ahead of the curve. Join us from November 9-12, 2009. Register > > now! > > http://p.sf.net/sfu/devconf_______________________________________________ > > Csound-devel mailing list > > Csound-devel@... > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel -- Saludos, Felipe Sateler ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxI'm not sure I can help you, I've never used CppSound, but look in the
examples directory there might be a python file (Trapped.py?) that uses it. Victor ----- Original Message ----- From: "Felipe Sateler" <fsateler@...> To: "Developer discussions" <csound-devel@...> Sent: Friday, October 02, 2009 12:46 AM Subject: Re: [Cs-dev] build failure with 5.11 on linux > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf -------------------------------------------------------------------------------- > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxHi,
StrangeAtrractor.py import CsoundAC and use setCppSound() I have no problem with this example on Ubuntu Jaunty and compiled csound5.11.1 Best René 2009/10/2 victor <Victor.Lazzarini@...> I'm not sure I can help you, I've never used CppSound, but look in the ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxI made changes in this code to solve this very problem a few months
ago. Did you do a complete cleanup and rebuild? The intention of my changes was to completely remove setPythonCallback from the CppSound C++ class, and add it as a Python-only method using SWIG. It works for me. If you are building with this code could it be your SWIG version? Regards, Mike On 10/2/09, Rene Djack <rene.djack@...> wrote: > Hi, > > StrangeAtrractor.py import CsoundAC and use setCppSound() > I have no problem with this example on Ubuntu Jaunty and compiled > csound5.11.1 > Best > René > > > > 2009/10/2 victor <Victor.Lazzarini@...> > >> I'm not sure I can help you, I've never used CppSound, but look in the >> examples >> directory there might be a python file (Trapped.py?) that uses it. >> >> Victor >> ----- Original Message ----- >> From: "Felipe Sateler" <fsateler@...> >> To: "Developer discussions" <csound-devel@...> >> Sent: Friday, October 02, 2009 12:46 AM >> Subject: Re: [Cs-dev] build failure with 5.11 on linux >> >> >> > >> ------------------------------------------------------------------------------ >> > Come build with us! The BlackBerry® Developer Conference in SF, CA >> > is the only developer event you need to attend this year. Jumpstart your >> > developing skills, take BlackBerry mobile applications to market and >> > stay >> > ahead of the curve. Join us from November 9-12, 2009. Register >> > now! >> > http://p.sf.net/sfu/devconf >> >> >> >> -------------------------------------------------------------------------------- >> >> >> > _______________________________________________ >> > Csound-devel mailing list >> > Csound-devel@... >> > https://lists.sourceforge.net/lists/listinfo/csound-devel >> > >> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> > -- Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxThe problem is with SWIG on some systems. The solution was to
move pythonMessageCallback out of the extension to the CppSound class so that SWIG does not try to wrap it. I guessed since pythoneMessageCallback did not access any class members (I saw no 'self->' in the interface code), it could just be a standalone function. SWIG leaves these alone. This is a patch on debian, but if it works and you don't have any problems with it, it could be changed 'upstream' on CVS. Victor On 2 Oct 2009, at 12:38, Michael Gogins wrote: > I made changes in this code to solve this very problem a few months > ago. Did you do a complete cleanup and rebuild? > > The intention of my changes was to completely remove setPythonCallback > from the CppSound C++ class, and add it as a Python-only method using > SWIG. It works for me. > > If you are building with this code could it be your SWIG version? > > Regards, > Mike > > On 10/2/09, Rene Djack <rene.djack@...> wrote: >> Hi, >> >> StrangeAtrractor.py import CsoundAC and use setCppSound() >> I have no problem with this example on Ubuntu Jaunty and compiled >> csound5.11.1 >> Best >> René >> >> >> >> 2009/10/2 victor <Victor.Lazzarini@...> >> >>> I'm not sure I can help you, I've never used CppSound, but look in >>> the >>> examples >>> directory there might be a python file (Trapped.py?) that uses it. >>> >>> Victor >>> ----- Original Message ----- >>> From: "Felipe Sateler" <fsateler@...> >>> To: "Developer discussions" <csound-devel@...> >>> Sent: Friday, October 02, 2009 12:46 AM >>> Subject: Re: [Cs-dev] build failure with 5.11 on linux >>> >>> >>>> >>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry® Developer Conference in >>>> SF, CA >>>> is the only developer event you need to attend this year. >>>> Jumpstart your >>>> developing skills, take BlackBerry mobile applications to market >>>> and >>>> stay >>>> ahead of the curve. Join us from November 9-12, 2009. Register >>>> now! >>>> http://p.sf.net/sfu/devconf >>> >>> >>> >>> -------------------------------------------------------------------------------- >>> >>> >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry® Developer Conference in >>> SF, CA >>> is the only developer event you need to attend this year. >>> Jumpstart your >>> developing skills, take BlackBerry mobile applications to market >>> and stay >>> ahead of the curve. Join us from November 9-12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconf >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >> > > > -- > Michael Gogins > Irreducible Productions > http://www.michael-gogins.com > Michael dot Gogins at gmail dot com > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxWe should do the standalone function, thanks for this idea. My
solution should work for you but your solution sounds simpler and therefore is probably better. Regards, Mike On 10/2/09, Victor Lazzarini <Victor.Lazzarini@...> wrote: > The problem is with SWIG on some systems. The solution was to > move pythonMessageCallback out of the extension to the CppSound > class so that SWIG does not try to wrap it. > > I guessed since pythoneMessageCallback did not access any class > members (I saw no 'self->' in the interface code), it could just be > a standalone function. SWIG leaves these alone. > > This is a patch on debian, but if it works and you don't have any > problems with it, it could be changed 'upstream' on CVS. > > Victor > > On 2 Oct 2009, at 12:38, Michael Gogins wrote: > >> I made changes in this code to solve this very problem a few months >> ago. Did you do a complete cleanup and rebuild? >> >> The intention of my changes was to completely remove setPythonCallback >> from the CppSound C++ class, and add it as a Python-only method using >> SWIG. It works for me. >> >> If you are building with this code could it be your SWIG version? >> >> Regards, >> Mike >> >> On 10/2/09, Rene Djack <rene.djack@...> wrote: >>> Hi, >>> >>> StrangeAtrractor.py import CsoundAC and use setCppSound() >>> I have no problem with this example on Ubuntu Jaunty and compiled >>> csound5.11.1 >>> Best >>> René >>> >>> >>> >>> 2009/10/2 victor <Victor.Lazzarini@...> >>> >>>> I'm not sure I can help you, I've never used CppSound, but look in >>>> the >>>> examples >>>> directory there might be a python file (Trapped.py?) that uses it. >>>> >>>> Victor >>>> ----- Original Message ----- >>>> From: "Felipe Sateler" <fsateler@...> >>>> To: "Developer discussions" <csound-devel@...> >>>> Sent: Friday, October 02, 2009 12:46 AM >>>> Subject: Re: [Cs-dev] build failure with 5.11 on linux >>>> >>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>>> Come build with us! The BlackBerry® Developer Conference in >>>>> SF, CA >>>>> is the only developer event you need to attend this year. >>>>> Jumpstart your >>>>> developing skills, take BlackBerry mobile applications to market >>>>> and >>>>> stay >>>>> ahead of the curve. Join us from November 9-12, 2009. Register >>>>> now! >>>>> http://p.sf.net/sfu/devconf >>>> >>>> >>>> >>>> -------------------------------------------------------------------------------- >>>> >>>> >>>>> _______________________________________________ >>>>> Csound-devel mailing list >>>>> Csound-devel@... >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry® Developer Conference in >>>> SF, CA >>>> is the only developer event you need to attend this year. >>>> Jumpstart your >>>> developing skills, take BlackBerry mobile applications to market >>>> and stay >>>> ahead of the curve. Join us from November 9-12, 2009. Register >>>> now! >>>> http://p.sf.net/sfu/devconf >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>> >> >> >> -- >> Michael Gogins >> Irreducible Productions >> http://www.michael-gogins.com >> Michael dot Gogins at gmail dot com >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market and >> stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > -- Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: build failure with 5.11 on linuxI commited to CVS the fix.
On Fri, 2009-10-02 at 13:25 +0100, Victor Lazzarini wrote: > The problem is with SWIG on some systems. The solution was to > move pythonMessageCallback out of the extension to the CppSound > class so that SWIG does not try to wrap it. > > I guessed since pythoneMessageCallback did not access any class > members (I saw no 'self->' in the interface code), it could just be > a standalone function. SWIG leaves these alone. > > This is a patch on debian, but if it works and you don't have any > problems with it, it could be changed 'upstream' on CVS. > > Victor > > On 2 Oct 2009, at 12:38, Michael Gogins wrote: > > > I made changes in this code to solve this very problem a few months > > ago. Did you do a complete cleanup and rebuild? > > > > The intention of my changes was to completely remove setPythonCallback > > from the CppSound C++ class, and add it as a Python-only method using > > SWIG. It works for me. > > > > If you are building with this code could it be your SWIG version? > > > > Regards, > > Mike > > > > On 10/2/09, Rene Djack <rene.djack@...> wrote: > >> Hi, > >> > >> StrangeAtrractor.py import CsoundAC and use setCppSound() > >> I have no problem with this example on Ubuntu Jaunty and compiled > >> csound5.11.1 > >> Best > >> René > >> > >> > >> > >> 2009/10/2 victor <Victor.Lazzarini@...> > >> > >>> I'm not sure I can help you, I've never used CppSound, but look in > >>> the > >>> examples > >>> directory there might be a python file (Trapped.py?) that uses it. > >>> > >>> Victor > >>> ----- Original Message ----- > >>> From: "Felipe Sateler" <fsateler@...> > >>> To: "Developer discussions" <csound-devel@...> > >>> Sent: Friday, October 02, 2009 12:46 AM > >>> Subject: Re: [Cs-dev] build failure with 5.11 on linux > >>> > >>> > >>>> > >>> ------------------------------------------------------------------------------ > >>>> Come build with us! The BlackBerry® Developer Conference in > >>>> SF, CA > >>>> is the only developer event you need to attend this year. > >>>> Jumpstart your > >>>> developing skills, take BlackBerry mobile applications to market > >>>> and > >>>> stay > >>>> ahead of the curve. Join us from November 9-12, 2009. Register > >>>> now! > >>>> http://p.sf.net/sfu/devconf > >>> > >>> > >>> > >>> -------------------------------------------------------------------------------- > >>> > >>> > >>>> _______________________________________________ > >>>> Csound-devel mailing list > >>>> Csound-devel@... > >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel > >>>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Come build with us! The BlackBerry® Developer Conference in > >>> SF, CA > >>> is the only developer event you need to attend this year. > >>> Jumpstart your > >>> developing skills, take BlackBerry mobile applications to market > >>> and stay > >>> ahead of the curve. Join us from November 9-12, 2009. Register > >>> now! > >>> http://p.sf.net/sfu/devconf > >>> _______________________________________________ > >>> Csound-devel mailing list > >>> Csound-devel@... > >>> https://lists.sourceforge.net/lists/listinfo/csound-devel > >>> > >> > > > > > > -- > > Michael Gogins > > Irreducible Productions > > http://www.michael-gogins.com > > Michael dot Gogins at gmail dot com > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart > > your > > developing skills, take BlackBerry mobile applications to market and > > stay > > ahead of the curve. Join us from November 9-12, 2009. Register > > now! > > http://p.sf.net/sfu/devconf > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@... > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel -- Saludos, Felipe Sateler ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |