[PD] fluid~ and flext~ compilation on OSX
Thomas Grill
gr at grrrr.org
Sat Jun 25 15:10:41 CEST 2005
Hi David,
>>> make: *** No rule to make target `pd-darwin/fluid~.pd_darwin', needed
>>> by `all'. Stop.
>>
>> It might be, that the directory "pd-darwin" is missing. I'm not sure,
>> if flext-build.sh creates this if it's not there. It is not in CVS, so
>> maybe "mkdir pd-darwin" could help here, then again try:
>
> The problem has compounded a bit:
>
> I recompiled fluidsynth without readline, and tried fluid~ compilation
> again. Unfortunately, I see:
>
> waldorf:~/Development/music/pd/externals/footils/fluid dc$ g++ -bundle
> -bundle_loader /usr/local/bin/pd -flat_namespace pd-darwin/fluid.o -lm
> -L/usr/local/lib -lfluidsynth /usr/local/lib/pd/flext/flext.a -o
> pd-darwin/fluid.pd_darwin
> ld: Undefined symbols:
> flext_base::m_loadbang()
> flext_base::GetClassArr(_class*, int)
> <snip>
Looks like the flext.a in /usr/local/lib/pd/flext/ is an older version
compared to the header files you are compiling against.
>
> waldorf:~/Development/music/pd/externals/grill/flext dc$ sudo bash
> build.sh pd gccPassword:make -f ./buildsys/gnumake-sub.mak
> PLATFORM=mac RTSYS=pd COMPILER=gcc BUILDPATH=./buildsys/
> PKGINFO=package.txt BUILDCLASS=flext USRCONFIG=config.txt
> USRMAKE=build/gnumake-mac-gcc.inc TARGETMODE=release TARGETTYPE=single
> _build_
> buildsys/mac/gnumake-gcc-flext.inc:27: warning: overriding commands
> for target `pd-darwin/release-single'
> buildsys/mac/gnumake-gcc-flext.inc:24: warning: ignoring old commands
> for target `pd-darwin/release-single'
> g++ -c -faltivec -ffast-math -DNDEBUG -O3 -mcpu=G4 -DFLEXT_USE_SIMD
> -DFLEXT_EXPORTS -DFLEXT_SYS=2 -include
> pd-darwin/release-single/flext.h
> -I/Applications/Pd-0.38-3.app/Contents/Resources/src source/flbase.cpp
> -o pd-darwin/release-single/flbase.opp
> source/flbase.cpp:28:22: g_canvas.h: No such file or directory
>
Did you edit flext/buildsys/config-mac-pd-gcc.txt so that PDPATH
therein points to a path where the PD header files including g_canvas.h
can be found?
>
> Am I correct in assuming that, at this point, fluid~ will not compile
> because the flext libraries that I've compiled are not healthy?
>
Seems so....
best greetings,
Thomas
More information about the Pd-list
mailing list