[PD-dev] Error Compiling toxy on MacOS X
Hans-Christoph Steiner
hans at eds.org
Tue Mar 9 06:11:25 CET 2004
I just checked out a whole new miXed dir from cvs and am trying to
compile toxy on MacOS X. I get this:
hans at sla:toxy > make
gcc2 -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses
-Wno-switch -O2 -funroll-loops -fomit-frame-pointer -DUNIX -DMACOSX -I.
-I../../../pd/src -I../shared -c -o widgettype.o widgettype.c
widgettype.c:16: illegal expression, found `;'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
widgettype.c:16: parse error before `;'
make: *** [widgettype.o] Error 1
Which is caused by this unusual construction(at least in my book):
static char masterwidget_builtin[] =
#include "default.wiq"
;
default.wiq is empty on my machine:
-rw-r--r-- 1 hans staff 0 Mar 8 23:52 default.wiq
How should I fix this?
.hc
More information about the Pd-dev
mailing list