[PD-dev] [flext] Fwd: fixing Flext for 64-bit?

Dario Pedrioli dariopedrioli at gmail.com
Tue Mar 9 09:48:05 CET 2010

Hi all,

I'm trying to compile py/pyext on ubuntu 9.04 64-bit machine PD 0.42.5

with flext rev 3659 I've got no problems.

with flext rev 3723 I've got the error below:

ubuntu at ubuntu-desktop:~/pd/
source/py_3723$ sh ../flext_3723/build.sh pd gcc
make -f ../flext_3723/buildsys/gnumake-sub.mak  PLATFORM=lnx RTSYS=pd
COMPILER=gcc BUILDPATH=../flext_3723/buildsys/ PKGINFO=package.txt
BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc
make[1]: ingresso nella directory ?/home/ubuntu/pd/source/py_3723?
mkdir -p pd-linux/release-multi/
g++ -c     -pthread -fPIC -fvisibility-inlines-hidden -DPY_EXPORTS
-I/usr/include/python2.6 -I/home/ubuntu/pd/source/pd-0.42-5/src
-I/usr/local/include/stk -I/usr/local/include/sndobj
-I/usr/local/include/flext source/pybuffer.cpp -o
source/pybuffer.cpp:154: warning: deprecated conversion from string constant
to ?char*?
source/pybuffer.cpp: In function ?int buffer_ass_slice(PyObject*,
Py_ssize_t, Py_ssize_t, PyObject*)?:
source/pybuffer.cpp:406: error: no matching function for call to
?flext_multi::CopySamples(flext_multi::buffer::Element*, t_sample*, int&)?
/usr/local/include/flext/flsupport.h:425: note: candidates are: static void
flext_multi::CopySamples(t_sample*, const t_sample*, int)

Someone can help?

PS: I'm trying rev 3723 because of 64-bit buffer patch (
<gr at grrrr.org>
My goal is to handle arrays directly in python, but with the rev 3659 I'm
only get half of the array inside py (the other half is set to zero). Am I
on the right way to fix my problem?

Thanks and ciao!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20100309/61aac6fd/attachment.htm>

More information about the Pd-dev mailing list