[PD] creb installation problems

tigital at mac.com tigital at mac.com
Sat Jan 24 01:47:46 CET 2004


On Friday, January 23, 2004, at 07:12  PM, roc wrote:
>
> resofilt.c:225: warning: implicit declaration of function `sqrtf'
> make[1]: *** [resofilt.o] Error 1
> make: *** [current] Error 2
> _________
>
> what am i missing?

hey,

...for some reason, OSX doesn't have defines in math.h for floating 
point versions of those functions...easy enuf to get around:  just do 
something like the following in the files that require these:

#include <math.h>
#define acosf(x)  ((float)(acos((double)(x)))
#define atanf(x)  ((float)(atan((double)(x)))
#define sqrtf(x)   ((float)(sqrt((double)(x)))
...etc

l8r,
jamie





More information about the Pd-list mailing list