[PD] error when i try to compile pmpd

Jack jack at rybn.org
Fri Jul 25 18:38:19 CEST 2014


Hello,

after :
cd .../pmpd
$ make

I get :
cc -I"/usr/include/pd" -DPD -DVERSION='"0.10-svn"' -fPIC -W -g  -O6
-funroll-loops -fomit-frame-pointer -o "pmpd2d.o" -c "pmpd2d.c"
In file included from pmpd2d.c:34:0:
pmpd2d.h:1:1: error: expected identifier or ‘(’ before ‘<<’ token
 <<<<<<< .mine
 ^
pmpd2d.h:5:0: warning: "nb_max_link" redefined [enabled by default]
 #define nb_max_link   5000000
 ^
pmpd2d.h:2:0: note: this is the location of the previous definition
 #define nb_max_link   100000000
 ^
pmpd2d.h:6:0: warning: "nb_max_mass" redefined [enabled by default]
 #define nb_max_mass   5000000
 ^
pmpd2d.h:3:0: note: this is the location of the previous definition
 #define nb_max_mass   100000
 ^
In file included from pmpd2d.c:35:0:
pmpd2d_core.c: In function ‘pmpd2d_new’:
pmpd2d_core.c:61:38: error: ‘pmpd2d_class’ undeclared (first use in this
function)
     t_pmpd2d *x = (t_pmpd2d *)pd_new(pmpd2d_class);
                                      ^
pmpd2d_core.c:61:38: note: each undeclared identifier is reported only
once for each function it appears in
pmpd2d.c: In function ‘pmpd2d_setup’:
pmpd2d.c:48:2: error: ‘pmpd2d_class’ undeclared (first use in this function)
  pmpd2d_class = class_new(gensym("pmpd2d"),
  ^
make: *** [pmpd2d.o] Erreur 1


Any help would be appreciated to solve this problem.
++

Jack







More information about the Pd-list mailing list