David Plans Casal wrote:
On 10 Mar 2006, at 11:55, David Plans Casal wrote:
However, externals compilation stops with:
/Users/dc/dev/pure-data/packages/darwin_app/../../externals/build/ src/../../iem/iemmatrix/src/mtx_pow.c:120: warning: unused parameter ‘s’ make[2]: *** [/Users/dc/dev/pure-data/packages/darwin_app/../../ externals/build/src/mtx_.^.o] Error 1 make[1]: *** [externals_install] Error 2 make: *** [extended_install] Error 2 waldorf:~/dev/pure-data/packages/darwin_app dc$
Actually, I believe the error (as opposed to warning) comes from a little above that, at:
/Users/dc/dev/pure-data/packages/darwin_app/../../externals/build/ src/../../iem/iemmatrix/src/mtx_pow.c: At top level: /Users/dc/dev/pure-data/packages/darwin_app/../../externals/build/ src/../../iem/iemmatrix/src/mtx_pow.c:22: error: static declaration of ‘powf’ follows non-static declaration
So I guess that's from the recent IEM checkin? Don't know what to do about this...
now, the proble comes from the way apple declares (or not) math.h... since powf() used to be non-existant on older releases of os-X, a lot of workarounds have been introduced.
anyhow, if your deployment thing does not work, try: entirely removing the block of lines19-25 (that's the __APPLE__ ifdef) in mtx_pow.c OR (if this doesn't work), replace this block with #define powf pow
and report back :-)
mfg.adr. IOhannes