sndfiler darwin compilation WAS Re: [PD] oggread~ won't read my ogg file?
IOhannes m zmölnig
zmoelnig at iem.at
Sat Mar 11 15:26:59 CET 2006
David Plans Casal wrote:
> In the hopes that someone will get to this thread eventually,
>
> On 11 Mar 2006, at 09:32, David Plans Casal wrote:
>
>> I've now switched from gcc 4.0 to 3.3 using gcc_select, but output
>> remains the same...
>
>
> Compiling sndfiler against dev_0_39 instead of MAIN, I get:
>
> gcc -DUNIX -fPIC -pthread -DPD -DUSE_PD_MAIN -O3 -funroll-loops -Wall
> -W -Wshadow -Wno-parentheses -Wno-switch -Wno-unused -fomit-frame-
> pointer -I. -I/Users/dc/cvs-puredata/devel_0_39/src -I/sw/include/ -I/
> Users/dc/dev/pure-data/externals/grh/threadlib/src -o sndfiler.o -c
> sndfiler.c
> powerpc-apple-darwin8-gcc-4.0.0: unrecognized option `-pthread'
> sndfiler.c:36: error: redefinition of ‘struct _garray’
well, i think it is a typo and should read "-lpthread" instead of
"-pthread" - and of course you will need to have pthreads installed.
mfg.adsr.
IOhannes
More information about the Pd-list
mailing list