[PD] compiling syncgrain~ on OSX
Hans-Christoph Steiner
hans at eds.org
Sat Sep 18 05:53:11 CEST 2004
I am in the process of writing a Darwin makefile for [syncgrain~]. I
got it compiling fine, but when I fun it, it crashed Pd and dumps these
messages:
dyld: ./pd Undefined symbols:
/Users/hans/cvs/pure-data/externals/footils/syncgrain/pd-darwin/
syncgrain~.pd_darwin undefined reference to _class_settip expected to
be defined in the executable
/Users/hans/cvs/pure-data/externals/footils/syncgrain/pd-darwin/
syncgrain~.pd_darwin undefined reference to _garray_updatetime expected
to be defined in the executable
/Users/hans/cvs/pure-data/externals/footils/syncgrain/pd-darwin/
syncgrain~.pd_darwin undefined reference to _inlet_settip expected to
be defined in the executable
Here's how I compiled it (FYI, I put libflext.a in
../../grill/flext/source):
cd ../../externals/footils/syncgrain/ && make -f makefile.pd-darwin
g++ -c -O6 -fno-rtti -DFLEXT_SYS=2 -DFLEXT_ATTRIBUTES
-I../../../pd/src -I/usr/local/include/SndObj
-I../../grill/flext/source -I../../grill/flext/source
syncgrain~/buftable.cpp -o pd-darwin/buftable.o
g++ -c -O6 -fno-rtti -DFLEXT_SYS=2 -DFLEXT_ATTRIBUTES
-I../../../pd/src -I/usr/local/include/SndObj
-I../../grill/flext/source -I../../grill/flext/source
syncgrain~/BufSyncGrain.cpp -o pd-darwin/BufSyncGrain.o
g++ -c -O6 -fno-rtti -DFLEXT_SYS=2 -DFLEXT_ATTRIBUTES
-I../../../pd/src -I/usr/local/include/SndObj
-I../../grill/flext/source -I../../grill/flext/source
syncgrain~/main.cpp -o pd-darwin/main.o
g++ ../../grill/flext/source/libflext.a -bundle -bundle_loader
../../../pd/bin/pd -framework veclib pd-darwin/buftable.o
pd-darwin/BufSyncGrain.o pd-darwin/main.o
../../grill/flext/source/libflext.a /usr/local/lib/libsndobj.a -lm -o
pd-darwin/syncgrain.pd_darwin
chmod 755 pd-darwin/syncgrain.pd_darwin
mv pd-darwin/syncgrain.pd_darwin pd-darwin/syncgrain~.pd_darwin
rm pd-darwin/main.o pd-darwin/BufSyncGrain.o pd-darwin/buftable.o
install -p -m0444
../../externals/footils/syncgrain/pd-darwin/*.pd_darwin
installroot/Applications/Pd.app/Contents/Resources/lib/pd/extra
.hc
________________________________________________________________________
____
"[W]e have invented the technology to eliminate scarcity, but we are
deliberately throwing it away
to benefit those who profit from scarcity."
-John Gilmore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2325 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040917/9f19fc32/attachment.bin>
More information about the Pd-list
mailing list