Hi, I got the mp3cast~ files from cvs and trying to make for Linux gives this:
palli@palli:~/iars/pd-0.38-0/mp3cast $ make
cc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow
-Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -g
-I../src -o mp3amp~.o -c mp3amp~.c
mp3amp~.c: In function mp3amp_decode_input': mp3amp~.c:289: warning: passing arg 6 of
decodeMP3' from incompatible
pointer type
make: *** [mp3amp~.pd_linux] Error 1
Any ideas anyone? I really, really need this to work. I've been using the precompiled binary from Yves site and it keeps crashing on me.
Um... I meant mp3amp~ not mp3cast~
Pall Thayer wrote:
Hi, I got the mp3cast~ files from cvs and trying to make for Linux gives this:
palli@palli:~/iars/pd-0.38-0/mp3cast $ make cc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -g -I../src -o mp3amp~.o -c mp3amp~.c mp3amp~.c: In function
mp3amp_decode_input': mp3amp~.c:289: warning: passing arg 6 of
decodeMP3' from incompatible pointer type make: *** [mp3amp~.pd_linux] Error 1Any ideas anyone? I really, really need this to work. I've been using the precompiled binary from Yves site and it keeps crashing on me.
OK, I got it to build but perhaps someone can tell me what I did and whether it's going to cause my computer to explode or turn into green jello.
I found where the function mentioned in the error was defined in interface.h There, the 6th arg was defined as an int. In mp3amp~.c there was a variable &pbyte as the 6th arg and the variable pbyte was defined like this t_int pbyte so I changed t_int to int and make worked fine and so far mp3amp~ is working fine. I'll keep you all updated.
But I would appreciate it if someone could explain what I did and whether it might cause me problems later on. I sorta need this to run flawlessly for as long as possible (several months or years).
Pall
Pall Thayer wrote:
Um... I meant mp3amp~ not mp3cast~
Pall Thayer wrote:
Hi, I got the mp3cast~ files from cvs and trying to make for Linux gives this:
palli@palli:~/iars/pd-0.38-0/mp3cast $ make cc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -g -I../src -o mp3amp~.o -c mp3amp~.c mp3amp~.c: In function
mp3amp_decode_input': mp3amp~.c:289: warning: passing arg 6 of
decodeMP3' from incompatible pointer type make: *** [mp3amp~.pd_linux] Error 1Any ideas anyone? I really, really need this to work. I've been using the precompiled binary from Yves site and it keeps crashing on me.