Hi all,
I seem to be having trouble trying to compile cvs checkout of devel_0.39 flext. While last week or so I was compiling for darwing, this week I'm trying for:
dpc@oscar:~/pd/externals/grill/flext$ uname -a Linux oscar 2.6.10-5-386 #1 Tue Apr 5 12:12:40 UTC 2005 i686 GNU/Linux dpc@oscar:~/pd/externals/grill/flext$
While the new scons system built the other externals ok after some tweaking...flext didn't get built? I went into the directory and did:
sudo bash build.sh pd gcc
the output:dpc@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 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@oscar:~/pd/externals/grill/flext$
Any thoughts?
d
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@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@oscar:~/pd/externals/grill/flext$
k
ix@replic.net wrote:
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...
yup, installing needed libraries helps, but I tend to just 'rm foobar' whatever I don't want (like mp3 stuff), all the scons stuff gets built ok then
I like the idea of an ebuild, will try that, thanks
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...
no, true. I'll try compiling against 0.38
d
Hi David,
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 scope
i've never tried to compile flext against devel_0_39... flext has to be updated - i'll do that shortly...
thanks for the feedback, Thomas
i've never tried to compile flext against devel_0_39... flext has to be updated - i'll do that shortly...
well, flext has to be recompiled against 0.39 to make it working ... but since i removed the garray locks, it probably can't at the moment ...
the garray locks aren't part of devel_0_39 any more, due to two reasons:
maybe i should add some dummy functions in the meantime ...
t
Hi all, i updated flext (in cvs) so that it compiles against devel_0_39 too.
happy swimming, Thomas
Am 16.07.2005 um 14:15 schrieb Tim Blechmann:
i've never tried to compile flext against devel_0_39... flext has to be updated - i'll do that shortly...
well, flext has to be recompiled against 0.39 to make it working ... but since i removed the garray locks, it probably can't at the moment ...
the garray locks aren't part of devel_0_39 any more, due to two reasons:
- i don't want to rewrite them for each new version of pd
- the array object thomas is planning to write ...
maybe i should add some dummy functions in the meantime ...
t
-- mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
latest mp3: kMW.mp3 http://mattin.org/mp3.html
latest cd: Goh Lee Kwang & Tim Blechmann: Drone http://www.geocities.com/gohleekwangtimblechmannduo/
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
normally the first time you do build.sh pd gcc the flext system create a file called config.txt that you need to edit (set path). after you did it again (build.sh pd gcc) and there you go: libs in /usr/local/lib/flext...so and /usr/local/include/flext
before version 5 the script build.sh was installed into /usr/local/bin but now i don't find it. it's not a big deal we have it in externals/grill/flext.
hope that's help! pat
----- Original Message ----- From: "David Plans Casal" main@davidcasal.com To: pd-list@iem.at Sent: Friday, July 15, 2005 10:57 AM Subject: [PD] More Flext compilation problems
Hi all,
I seem to be having trouble trying to compile cvs checkout of devel_0.39 flext. While last week or so I was compiling for darwing, this week I'm trying for:
dpc@oscar:~/pd/externals/grill/flext$ uname -a Linux oscar 2.6.10-5-386 #1 Tue Apr 5 12:12:40 UTC 2005 i686 GNU/Linux dpc@oscar:~/pd/externals/grill/flext$
While the new scons system built the other externals ok after some tweaking...flext didn't get built? I went into the directory and did:
sudo bash build.sh pd gcc
the output:dpc@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 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@oscar:~/pd/externals/grill/flext$
Any thoughts?
d
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Hi Pat,
before version 5 the script build.sh was installed into /usr/local/bin but now i don't find it. it's not a big deal we have it in externals/grill/flext.
compared to the previous cvs version of flext, i removed it from /usr/local/bin because i found it too difficult to respect the various "standard" locations where files have to be put in linux (like /usr/local/bin for the script, /usr/local/lib for the libraries, /usr/local/include for the headers and /var/... or "/home/xxx" for the editable config-pd-gcc-linux.txt) So i chose to leave them at the place where the flext source was put. While the current flext build system is the way to compile things, i'm looking forward to using scons in the future, as soon as it's working flawlessly and is as feature-rich.
best greetings, Thomas