On 10 Mar 2006, at 15:45, Georg Holzmann wrote:
So I'm trying to compile from cvs/externals/tb/sndfiler. However,
I have trouble with Makefile.pd_main, in that I've given all the
correct paths, but I still get:are you compiling now against devel or millers pd ?
miller's. why, should I compile against dev?
waldorf:~/dev/pure-data/externals/tb/sndfiler/src dc$ make pd_darwin
here you are using Makefile (which is for pd_devel) - if you want
to use Makefile.main your command should be: make -f Makefile.main pd_darwin
ok sorry, of course.
however, doing that complains about -pthread:
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option `-pthread'
Is this because of gcc4.0.0 ? Should I use 3? How would I? (I mean I
don't really know how to 'downgrade' gcc compilation)
removing -pthread from darwin and linux targets works, but still has
another error:
gcc -bundle -undefined suppress -flat_namespace -bundle_loader /
Applications/Pd-0.39extendedOLD.app/Contents/Resources//bin/pd --
export-dynamic -L/sw/lib -L/opt/local/lib -lsndfile -lvorbisfile /
Users/dc/Documents/musicresearch/pdextra/threadlib.pd_darwin -o
sndfiler.pd_darwin sndfiler.o
/usr/bin/ld: /Users/dc/Documents/musicresearch/pdextra/
threadlib.pd_darwin is input for the dynamic link editor, is not
relocatable by the static link editor again
collect2: ld returned 1 exit status
make: *** [sndfiler.pd_darwin] Error 1
Thoughts?
I don't -have- to do ogg, could do mp3 instead...would that be possible?
d
-- David Plans Casal Researcher, UEA Studios d.casal at uea dot ac dot uk http://www.davidcasal.com