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
Hi, I'm trying to compile dyn~ for pd 0.36 running on a Redhat 8
^^^^
i'd recommend to update pd & flext ...
cheers ... tim
On 23.10.2005, at 16:15, Tim Blechmann wrote:
Hi, I'm trying to compile dyn~ for pd 0.36 running on a Redhat 8
^^^^
i'd recommend to update pd & flext ...
Believe me, I really would like to but the machine is running a
number of projects that I'm sure will get all messed up if I update
and on top of that the machine is in Iceland and I am in Canada. So
I'd rather receive some info that would help me fix things without
updating.
cheers ... tim
-- mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
latest mp3: kMW.mp3 http://mattin.org/mp3.html
latest cd: Goh Lee Kwang & Tim Blechmann: Drone http://www.geocities.com/gohleekwangtimblechmannduo/
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs
-- Pall Thayer palli@pallit.lhi.is http://www.this.is/pallit
Hi, I'm trying to compile dyn~ for pd 0.36 running on a Redhat 8
^^^^
i'd recommend to update pd & flext ...
Believe me, I really would like to but the machine is running a
number of projects that I'm sure will get all messed up if I update
and on top of that the machine is in Iceland and I am in Canada. So
I'd rather receive some info that would help me fix things without
updating.
rename every instance of "template" "whatever" in g_canvas.h.
t
On Sun, 23 Oct 2005, Tim Blechmann wrote:
Believe me, I really would like to but the machine is running a
number of projects that I'm sure will get all messed up if I update
and on top of that the machine is in Iceland and I am in Canada. So
I'd rather receive some info that would help me fix things without
updating.rename every instance of "template" "whatever" in g_canvas.h.
easier way: start the .c file with this line:
#define template millerdoesntplusplus
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada
Hi Pall, is there a reason why you are running pd 0.36? Apart from the "template" c++ keywords, flext and dyn _should_ work, but clearly i haven't tested with 0.36 for years, literally.
all the best, Thomas
Am 23.10.2005 um 20:02 schrieb Pall Thayer:
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' fromtypedef 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 beforetemplate' /usr/lib/pd/include/g_canvas.h:291: parse error before
template' /usr/lib/pd/include/g_canvas.h:295: parse error beforetemplate' /usr/lib/pd/include/g_canvas.h:299: parse error before
template' /usr/lib/pd/include/g_canvas.h:303: parse error beforetemplate' /usr/lib/pd/include/g_canvas.h:447: parse error before
template' /usr/lib/pd/include/g_canvas.h:448: parse error beforetemplate' /usr/lib/pd/include/g_canvas.h:514: parse error before
template' /usr/lib/pd/include/g_canvas.h:517: parse error beforetemplate' /usr/lib/pd/include/g_canvas.h:526: parse error before
template' /usr/lib/pd/include/g_canvas.h:527: parse error beforetemplate' /usr/lib/pd/include/g_canvas.h:566: parse error before
template' src/main.cpp: In static member functionstatic 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 typeclass 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
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list