[PD] More Flext compilation problems

ix at replic.net ix at replic.net
Fri Jul 15 17:13:38 CEST 2005


> While the new scons system built the other externals ok after some
> tweaking...flext didn't get built? 

scons does build some things in addition to the disparate .c files, however flext is not one of them, ,youre welcome to add it, just make a SConscript and add to the appropriate line in build/SConstruct..

in fact, scons will praobly not work unnless youve installed ladspa-SDK, FANN, Speex, LAME, libvorbis, flext, and possibly other things. you could make an ebuild to grab all the deps automagically..check e17 for examples of ebuilds that pull from CVS...

> I went into the directory and did:
> 
> sudo bash build.sh pd gcc
> 
> the output:dpc at oscar:~/pd/externals/grill/flext$ sudo bash build.sh pd gcc
> make -f ./buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc
> BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext
> USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc
> TARGETMODE=release TARGETTYPE=single _build_
> make[1]: Entering directory `/home/dpc/pd/externals/grill/flext'
> g++ -c -msse -mfpmath=sse -ffast-math -DNDEBUG -O3 -march=pentium4
> -pthread -fPIC -DFLEXT_USE_SIMD -DFLEXT_EXPORTS -DFLEXT_SYS=2
> -I/home/dpc/pd//src source/flbuf.cpp -o pd-linux/release-single/flbuf.opp
> source/flbuf.cpp: In member function ?bool flext_single::buffer::Lock()?:
> source/flbuf.cpp:186: error: ?garray_lock? was not declared in this scope
> source/flbuf.cpp: In member function ?void
> flext_single::buffer::Unlock(bool)?:
> source/flbuf.cpp:211: error: ?garray_unlock? was not declared in this scope
> source/flbuf.cpp: In member function ?bool
> flext_single::buffer::IsDirty() const?:
> source/flbuf.cpp:341: error: ?garray_updatetime? was not declared in

this is stuff from devel. there must be a way to make flext not depend on devel, no? i mean surely that garray stuff is not in msp's edition of PD, or in Max/MSP...

> this scope
> make[1]: *** [pd-linux/release-single/flbuf.opp] Error 1
> make[1]: Leaving directory `/home/dpc/pd/externals/grill/flext'
> make: *** [build-release-single] Error 2
> dpc at oscar:~/pd/externals/grill/flext$
k




More information about the Pd-list mailing list