yo i got creb-0.9.0 and tried to build it i'm on a g4 powerbook os 10.2.3 and pd 0.36 after i finish, pd can't load the lib here's what i get when i "make"
make -C system
make[1]: Nothing to be done for all'. make -C modules cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o resofilt.o -c resofilt.c cc1: warnings being treated as errors resofilt.c: In function
resofilt_perform_threepole':
resofilt.c:225: warning: implicit declaration of function `sqrtf'
make[1]: *** [resofilt.o] Error 1
make: *** [current] Error 2
_________
what am i missing? best r
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
hey roc,
can you change the 'sqrtf' to 'sqrt' in the offending source file and try again if that works?
if there are any other errors in that file, proceed likewize: replacing 'xxxf' with 'xxx'.
cheers
tom
On Sat, 24 Jan 2004, roc wrote:
yo i got creb-0.9.0 and tried to build it i'm on a g4 powerbook os 10.2.3 and pd 0.36 after i finish, pd can't load the lib here's what i get when i "make"
make -C system make[1]: Nothing to be done for
all'. make -C modules cc -DPD -DCREB_VERSION=\"0.9.0\" -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -INONE/pd/src -I../include -I../include/dspi -o resofilt.o -c resofilt.c cc1: warnings being treated as errors resofilt.c: In function
resofilt_perform_threepole': resofilt.c:225: warning: implicit declaration of function `sqrtf' make[1]: *** [resofilt.o] Error 1 make: *** [current] Error 2 _________what am i missing? best r
hello, i have a problem installing creb library on osx i tried also the 0.8.1 and it is " blosc.o" who gave me trouble
creb-0.9.0/ -I../include -I../include/dspi -o blosc.o -c blosc.cc
blosc.cc: In function void _fft(float*, float*, int)': blosc.cc:610: error:
isnan' undeclared (first use this function)
blosc.cc:610: error: (Each undeclared identifier is reported only once
for each
function it appears in.)
blosc.cc: In function void build_tables()': blosc.cc:700: error:
isinf' undeclared (first use this function)
make[1]: *** [blosc.o] Error 1
make: *** [current] Error 2
Hello all,
found this in the archives, but it doesn't appear to have an answer. Anybody successfully compile Creb on OSX?
thx, derek
retu arana wrote:
hello, i have a problem installing creb library on osx i tried also the 0.8.1 and it is " blosc.o" who gave me trouble
creb-0.9.0/ -I../include -I../include/dspi -o blosc.o -c blosc.cc blosc.cc: In function
void _fft(float*, float*, int)': blosc.cc:610: error:
isnan' undeclared (first use this function) blosc.cc:610: error: (Each undeclared identifier is reported only once for each function it appears in.) blosc.cc: In functionvoid build_tables()': blosc.cc:700: error:
isinf' undeclared (first use this function) make[1]: *** [blosc.o] Error 1 make: *** [current] Error 2
We just covered this topic, maybe they didn't make it to the archives.
The creb objects are part of the externals build system, built as
individual files rather than a lib. Any of the Pd-extended packages
will include the creb objects.
.hc
On Jan 10, 2006, at 6:12 AM, derek holzer wrote:
Hello all,
found this in the archives, but it doesn't appear to have an answer.
Anybody successfully compile Creb on OSX?thx, derek
retu arana wrote:
hello, i have a problem installing creb library on osx i tried also the 0.8.1 and it is " blosc.o" who gave me trouble creb-0.9.0/ -I../include -I../include/dspi -o blosc.o -c blosc.cc blosc.cc: In function
void _fft(float*, float*, int)': blosc.cc:610: error:
isnan' undeclared (first use this function) blosc.cc:610: error: (Each undeclared identifier is reported only
once for each function it appears in.) blosc.cc: In functionvoid build_tables()': blosc.cc:700: error:
isinf' undeclared (first use this function) make[1]: *** [blosc.o] Error 1 make: *** [current] Error 2--
derek holzer ::: http://www.umatic.nl ---Oblique Strategy # 19: "Be dirty"
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
"[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