| Message written at 5 Aug 1999 13:27:03 +0100
--- Copy of mail to jasonf@ivy.the-i.net ---
In-reply-to:
(jasonf@ivy.the-i.net)
References:
>>>>> "jasonf" == jasonf writes:
jasonf> Anyway, when I compile I get the following error:
jasonf> pgcc -O6 -DRTAUDIO -DSFIRCAM -DLINUX -DPIPES -DMACROS -c rdscor.c
jasonf> rdscor.c:4: initializer element is not constant
jasonf> make: *** [rdscor.o] Error 1
jasonf> Any ideas?
The line in question is
FILE *oscfp = stdout; /* default Cscore outfile */
and that assumes that stdout is a constant or the compiler is really a
C++ one. On many systems it is not the case, and so in reality the
code is wrong.
I think the simple fix is to replace this line by
FILE *oscfp = NULL; /* default Cscore outfile */
I have not checked thsi yet but I think it is safe
jasonf> Also, I've been playing around with midi input the last few
jasonf> days. How do I set the bend range? I see info on the subject
jasonf> in the manual, but I'm more of a learn by example kind of
jasonf> person. If you don't set the bend range,
There is an optional parameter in the opcode to read the bend which
scales it.
|