[PD-dev] flext/vasp/py - was: Re: [PD] devel

Thomas Grill gr at grrrr.org
Thu Apr 7 14:09:39 CEST 2005


Hi Vincent,
i'm CCing this to the list - i see no problem with that.

I'm sorry for the compilation problems at the moment  - it's bad timing 
since there's no mirroring of my own svn repository to SF at the moment 
- i hope to get it going as soon as possible.

A few things need to be modified for successful compilation of 
flext(CVS)-based externals


1) in flsupport.h the following lines (starting at about line 145) need 
to be commented out
     typedef t_float Float;
     typedef t_int Int;
     typedef t_sample Sample;
     typedef const t_symbol *Symbol;
     typedef t_atom Atom;

2) in the py/pyext source files all occurrences of AtomListStatic need 
to be replaced with flext::AtomListStatic


best greetings,
Thomas


Am 07.04.2005 um 13:33 schrieb vincent rioux:

> hi Tim and Thomas,
> many thanks for the autoconf Tim!
> I understood that Guenter was not to happy about reporting pb of 
> compilations on debian systems so I am writing to you directly - i'll 
> try to post "successful" results however.
>
> Well, as for know i tried to recompile things i am interested in :
> --------------------------------------------
> $ pd -version
> Pd version 0.38.4 devel
> compiled 13:07:11 Apr  7 2005
>
> --------------------------------------------
> i updated my cvs externals repertory.
> dyn~and pool compile fine but:
>
> $ pd -lib dyn~ -lib pool -stderr
>
> still gives:
>
> load_object: Symbol "dyn_tilde_setup" not found
> dyn~: can't load library
> load_object: Symbol "pool_setup" not found
> pool: can't load library
>
> --------------------------------------------
>
> py compilation gives:
>
> 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 `/root/puredata/externals/grill/py'
> g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -march=pentium4  
> -pthread -fPIC -DPY_EXPORTS -DFLEXT_THREADS -DFLEXT_SYS=2 
> -I/usr/include/python2.3 -I/root/puredata/pd/src 
> -I/usr/local/include/flext source/py.cpp -o 
> pd-linux/release-multi/py.opp
> In file included from /usr/include/python2.3/Python.h:8,
>                 from source/pyprefix.h:20,
>                 from source/main.h:14,
>                 from source/py.cpp:11:
> /usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" 
> redefined
> In file included from /usr/include/pthread.h:18,
>                 from /usr/local/include/flext/flext.h:41,
>                 from source/pyprefix.h:15,
>                 from source/main.h:14,
>                 from source/py.cpp:11:
> /usr/include/features.h:131:1: warning: this is the location of the 
> previous definition
> source/py.cpp: In member function `virtual bool 
> pyobj::callpy(PyObject*,
>   PyObject*)':
> source/py.cpp:334: error: request for member `AtomListStatic' is 
> ambiguous in
>   multiple inheritance lattice
> /usr/local/include/flext/flsupport.h:664: error: candidates are: 
> template<int
>   PRE> class flext_multi::AtomListStatic
> /usr/local/include/flext/flsupport.h:664: error:                 
> template<int
>   PRE> class flext_multi::AtomListStatic
> source/py.cpp:334: error: `rargs' undeclared (first use this function)
> source/py.cpp:334: error: (Each undeclared identifier is reported only 
> once for
>   each function it appears in.)
> make[1]: *** [pd-linux/release-multi/py.opp] Error 1
> make[1]: Leaving directory `/root/puredata/externals/grill/py'
> make: *** [build-release-multi] Error 2
>
>
> --------------------------------------------
>
> best regards,
> vincent
>
>
>
>





More information about the Pd-dev mailing list