[PD] py/ext: build error

Julian Peterson julianpeterson at mac.com
Sat Apr 5 07:33:26 CEST 2008


Hello Thomas and all...

I'm sorry to revive a dead thread but I've encountered an old ghost.   
I checked the externals out of sourceforge this afternoon and when  
building py/ext fail with the output pasted below.  I found this exact  
problem in the list archives (see http://lists.puredata.info/pipermail/pd-list/2007-11/055895.html) 
.  I'm on intel OSX 10.5, building with a working flext (built vasp w/ 
o issue), against a build-farm copy of PD.
Thomas, you indicated that it is fixed in cvs... did I grab an older  
version?  Is there a more current cvs repository floating around  
somewhere?  I checked out the externals with this command:

cvs -z3 -d:pserver:anonymous at pure-data.cvs.sourceforge.net:/cvsroot/ 
pure-data co -P externals

Although there is this cryptic statement on the puredata.info website:
Thomas Grill's externals and Flext: Thomas maintains his code in his  
own repository.

Thanks,
Julian Peterson


The aforementioned error:
g++ -c -ffast-math -Os -ftree-vectorize -arch i386 -mmmx -msse -msse2 - 
msse3 -mtune=prescott -DPY_EXPORTS -DPY_USE_GIL -DNDEBUG - 
DFLEXT_THREADS -DFLEXT_SYS=2 -DPD -I pd-darwin/release-multi -I/ 
Applications/Pd-0.40.3-extended-20080117.app/Contents/Resources/src -I/ 
usr/local/include/flext source/main.cpp -o pd-darwin/release-multi/ 
main.opp_i386
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-darwin/release-multi/main.opp_i386] Error 1 make: ***  
[build-release-multi] Error 2





More information about the Pd-list mailing list