Hello Frank,
2- g++ -c -O6 -mcpu=G4 -DPD -I/usr/include/src -I/usr/local/lib -I../../grill/flext/source/ fluid/main.cpp -o pd-darwin/fluid.o
3- 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 -framework veclib -o pd-darwin/fluid.pd_darwin
Maybe we can try to fix the build using the flext-build system. Inside the "fluid" directory, it should in the end work with something like "flext-build.sh pd gcc" or similar - I don't know, where flext installs the flext-build.sh on OS-X.
I couldnt find any flext-build.sh file that we can modify, but here I paste another build-.sh file, if you can modify this one then maybe we can try this to compile fluid.
#!/bin/sh
. config-pd-darwin.txt
make -f makefile.pd-darwin && { if [ "${INSTPATH}" != "" ]; then echo Now install as root sudo make -f makefile.pd-darwin install fi }
Then in "build/gnumake-mac-gcc.inc" it is possible to specify libraries and frameworks. Currently there just is:
LIBS += -framework Fluidsynth
but from reading your g++-line maybe it should be:
LIBS += -lfluidsynth -framework veclib
I will change this in gnumake-mac-gcc.inc, when we have the flext-build.sh
best Koray.
Hallo, Koray Tahiroglu hat gesagt: // Koray Tahiroglu wrote:
I couldnt find any flext-build.sh file that we can modify, but here I paste another build-.sh file, if you can modify this one then maybe we can try this to compile fluid.
Well, probably you are not running the flext from CVS yet, as Thomas noted, but one of the "released" versions from his site, which is not yet made to use the new buildsys. For the "old" flext it is better to go with the old "make -f makefile.pd_darwin".
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41