Hi Pat, are you using the latest CVS versions of both flext and py? If not, please try that.
gr~~~
Am 14.02.2008 um 07:15 schrieb patrick:
i cannot compile py against python 2.5 on linux:
bash ../flext/build.sh pd gcc make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_ make[1]: Entering directory `/home/pat/src/pdmtlpd/pure-data/trunk/externals/grill/py' mkdir -p pd-linux/release-multi/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread - fPIC -DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD -I/usr/include/python2.5 -I/home/pat/src/pdmtlpd/pure-data/trunk/pd/ src -I/usr/local/include/stk -I/usr/local/include/sndobj -I/usr/local/include/flext source/main.cpp -o pd-linux/release-multi/main.opp source/main.h:34: error: expected class-name before ‘{’ token /usr/local/include/flext/flcontainers.h: In member function ‘void TypedFifo<T>::Put(T*) [with T = FifoEl]’: source/pybase.h:181: instantiated from here /usr/local/include/flext/flcontainers.h:456: error: no matching function for call to ‘TypedFifo<FifoEl>::Put(FifoEl*)’ /usr/local/include/flext/flcontainers.h:405: note: candidates are: void Fifo::Put(Lifo::Cell*) /usr/local/include/flext/flcontainers.h: In member function ‘T* TypedLifo<T>::Pop() [with T = FifoEl]’: /usr/local/include/flext/flcontainers.h:466: instantiated from ‘T* PooledFifo<T, M, O>::New() [with T = FifoEl, int M = 2, int O = 1]’ source/pybase.h:179: instantiated from here /usr/local/include/flext/flcontainers.h:380: error: invalid static_cast from type ‘Lifo::Cell*’ to type ‘FifoEl*’ make[1]: *** [pd-linux/release-multi/main.opp] Error 1 make[1]: Leaving directory `/home/pat/src/pdmtlpd/pure-data/trunk/externals/grill/py' make: *** [build-release-multi] Error 2
it worked some months ago. my setup is almost the same (ubuntu 7.10).
pat
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev