Hi, I'm trying to compile dyn~ for pd 0.36 running on a Redhat 8
machine and having lots of problems. I've finally managed to get it
to find all the headers and stuff and now get this error, anyone have
any suggestions?
g++ -c -O6 -DFLEXT_SYS=2 -I/usr/lib/pd/include -I/usr/lib/pd/
include/flext/pd-linux src/main.cpp -o pd-linux/main.o
In file included from src/main.cpp:34:
/usr/lib/pd/include/g_canvas.h:195: declaration of
_class*_template::t_pd' /usr/lib/pd/include/m_pd.h:152: changes meaning of
t_pd' from
typedef struct _class*t_pd' /usr/lib/pd/include/g_canvas.h:283: parse error before
template'
/usr/lib/pd/include/g_canvas.h:287: parse error before template' /usr/lib/pd/include/g_canvas.h:291: parse error before
template'
/usr/lib/pd/include/g_canvas.h:295: parse error before template' /usr/lib/pd/include/g_canvas.h:299: parse error before
template'
/usr/lib/pd/include/g_canvas.h:303: parse error before template' /usr/lib/pd/include/g_canvas.h:447: parse error before
template'
/usr/lib/pd/include/g_canvas.h:448: parse error before template' /usr/lib/pd/include/g_canvas.h:514: parse error before
template'
/usr/lib/pd/include/g_canvas.h:517: parse error before template' /usr/lib/pd/include/g_canvas.h:526: parse error before
template'
/usr/lib/pd/include/g_canvas.h:527: parse error before template' /usr/lib/pd/include/g_canvas.h:566: parse error before
template'
src/main.cpp: In static member function static void dyn::setup (_class*)': src/main.cpp:173: warning: invalid offsetof from non-POD type
class
dyn::proxy
'; use pointer to member instead
src/main.cpp:182: warning: invalid offsetof from non-POD type class dyn::proxy '; use pointer to member instead src/main.cpp: In member function
void dyn::m_newobj(int, const
t_atom*)':
src/main.cpp:399: pd_newest' undeclared (first use this function) src/main.cpp:399: (Each undeclared identifier is reported only once for each function it appears in.) src/main.cpp: In member function
void dyn::conndis(bool, int, const
t_atom*)':
src/main.cpp:519: canvas_isconnected' undeclared (first use this function) src/main.cpp:524:
canvas_connect' undeclared (first use this function)
src/main.cpp:532: `canvas_disconnect' undeclared (first use this
function)
make: *** [pd-linux/main.o] Error 1
-- Pall Thayer palli@pallit.lhi.is http://www.this.is/pallit