hi again
thanks for your tips martin. i have tried to change the makefile to point ti the right directories but i still get an error (pasted below). I am not sure if i am setting the paths properly. The problem i see is that the way osx works it has this app packages that wont show you the content unless you tell the sytem to show you it. So one thinks that the pd executable is in /applications/pd but actually (if i am rigth) it is in /applications/audio/pd.app/contents/resources/bin/pd
Here below is the new error. Again it cannot find m_pd.h file i am not sure where this should be. Now i cannot find it anywhere in the system. Maybe i should go back to the linux style pd distribution for osx? ...
thanks
Ordenador-de-ibook:/applications/audio/Pd-0.38-0test4HCS1.app/contents/resources/src/externals/build/darwin
ibook$ make
cc -DPD -Os -DUNIX -DMACOSX -Dunix -Wall -W -Wno-unused
-Wno-parentheses -Wno-switch -Wno-shadow -I. -I.. -I../include -o
"aenv~.o" -c "../src/aenv~.c"
In file included from ../src/aenv~.c:1:
../../aenv~/aenv~.c:18:18: m_pd.h: No such file or directory
In file included from ../src/aenv~.c:1:
../../aenv~/aenv~.c:31: error: parse error before '*' token
../../aenv~/aenv~.c:31: warning: type defaults to int' in declaration of
aenv_class'
../../aenv~/aenv~.c:31: warning: data definition has no type or storage
class
../../aenv~/aenv~.c:34: error: parse error before "t_object"
../../aenv~/aenv~.c:34: warning: no semicolon at end of struct or union
../../aenv~/aenv~.c:35: warning: type defaults to int' in declaration of
srate'
../../aenv~/aenv~.c:35: warning: data definition has no type or storage
class
../../aenv~/aenv~.c:36: error: parse error before "a"
../../aenv~/aenv~.c:36: warning: type defaults to int' in declaration of
a'
../../aenv~/aenv~.c:36: warning: data definition has no type or storage
class
../../aenv~/aenv~.c:37: error: parse error before "d"
../../aenv~/aenv~.c:37: warning: type defaults to int' in declaration of
d'
../../aenv~/aenv~.c:37: warning: data definition has no type or storage
class
../../aenv~/aenv~.c:38: error: parse error before "s"
../../aenv~/aenv~.c:38: warning: type defaults to int' in declaration of
s'
../../aenv~/aenv~.c:38: warning: data definition has no type or storage
class
../../aenv~/aenv~.c:39: error: parse error before "r"
../../aenv~/aenv~.c:39: warning: type defaults to int' in declaration of
r'
../../aenv~/aenv~.c:39: warning: data definition has no type or storage
class
../../aenv~/aenv~.c:40: error: parse error before "lastval"
../../aenv~/aenv~.c:40: warning: type defaults to int' in declaration of
lastval'
../../aenv~/aenv~.c:40: warning: data definition has no type or storage
class
../../aenv~/aenv~.c:43: error: parse error before '}' token
../../aenv~/aenv~.c:43: warning: type defaults to int' in declaration of
t_aenv'
../../aenv~/aenv~.c:43: warning: data definition has no type or storage
class
../../aenv~/aenv~.c:45: error: parse error before '*' token
../../aenv~/aenv~.c:45: error: parse error before '*' token
../../aenv~/aenv~.c:46: warning: return type defaults to int' ../../aenv~/aenv~.c: In function
aenv_perform':
../../aenv~/aenv~.c:47: error: x' undeclared (first use in this function) ../../aenv~/aenv~.c:47: error: (Each undeclared identifier is reported only once ../../aenv~/aenv~.c:47: error: for each function it appears in.) ../../aenv~/aenv~.c:47: error: parse error before ')' token ../../aenv~/aenv~.c:47: error:
w' undeclared (first use in this function)
../../aenv~/aenv~.c:48: error: t_float' undeclared (first use in this function) ../../aenv~/aenv~.c:48: error:
out' undeclared (first use in this function)
../../aenv~/aenv~.c:48: error: parse error before ')' token
../../aenv~/aenv~.c:51: error: parse error before "lastval"
../../aenv~/aenv~.c: At top level:
../../aenv~/aenv~.c:100: error: parse error before '*' token
../../aenv~/aenv~.c: In function aenv_dsp': ../../aenv~/aenv~.c:102: warning: implicit declaration of function
dsp_add'
../../aenv~/aenv~.c:102: error: x' undeclared (first use in this function) ../../aenv~/aenv~.c:102: error:
sp' undeclared (first use in this function)
../../aenv~/aenv~.c: At top level:
../../aenv~/aenv~.c:105: error: parse error before '*' token
../../aenv~/aenv~.c: In function aenv_float': ../../aenv~/aenv~.c:107: error:
f' undeclared (first use in this function)
../../aenv~/aenv~.c:108: error: `x' undeclared (first use in this function)
../../aenv~/aenv~.c: At top level:
../../aenv~/aenv~.c:113: error: parse error before '*' token
../../aenv~/aenv~.c: In function aenv_new': ../../aenv~/aenv~.c:115: error:
x' undeclared (first use in this function)
../../aenv~/aenv~.c:115: error: parse error before ')' token
../../aenv~/aenv~.c:116: warning: implicit declaration of function
floatinlet_new' ../../aenv~/aenv~.c:120: warning: implicit declaration of function
outlet_new'
../../aenv~/aenv~.c:120: warning: implicit declaration of function gensym' ../../aenv~/aenv~.c:122: warning: implicit declaration of function
sys_getsr'
../../aenv~/aenv~.c:131: error: argc' undeclared (first use in this function) ../../aenv~/aenv~.c:132: warning: implicit declaration of function
atom_getfloat'
../../aenv~/aenv~.c:132: error: argv' undeclared (first use in this function) ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:141: error: parse error before '*' token ../../aenv~/aenv~.c: In function
aenv_lina':
../../aenv~/aenv~.c:143: error: x' undeclared (first use in this function) ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:146: error: parse error before '*' token ../../aenv~/aenv~.c: In function
aenv_loga':
../../aenv~/aenv~.c:148: error: x' undeclared (first use in this function) ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:151: error: parse error before '*' token ../../aenv~/aenv~.c: In function
aenv_zero':
../../aenv~/aenv~.c:153: error: x' undeclared (first use in this function) ../../aenv~/aenv~.c: In function
aenv_tilde_setup':
../../aenv~/aenv~.c:159: warning: implicit declaration of function
class_new' ../../aenv~/aenv~.c:159: error:
t_newmethod' undeclared (first use in
this function)
../../aenv~/aenv~.c:159: error: parse error before "aenv_new"
../../aenv~/aenv~.c:160: warning: implicit declaration of function
class_sethelpsymbol' ../../aenv~/aenv~.c:161: warning: implicit declaration of function
class_addmethod'
../../aenv~/aenv~.c:161: error: t_method' undeclared (first use in this function) ../../aenv~/aenv~.c:161: error: parse error before "aenv_dsp" ../../aenv~/aenv~.c:162: warning: implicit declaration of function
class_addfloat'
../../aenv~/aenv~.c:162: error: parse error before "aenv_float"
../../aenv~/aenv~.c:163: error: parse error before "aenv_lina"
../../aenv~/aenv~.c:164: error: parse error before "aenv_loga"
../../aenv~/aenv~.c:165: error: parse error before "aenv_zero"
make: *** [aenv~.pd_darwin] Error 1
So one thinks that the pd executable is in /applications/pd but
actually (if i am rigth) it is in
/applications/audio/pd.app/contents/resources/bin/pd
that is true. although i am not sure if renaming breaks hcs' app.
Here below is the new error. Again it cannot find m_pd.h file i am not
sure where this should be. Now i cannot find it anywhere in the
system. Maybe i should go back to the linux style pd distribution for
osx? ...
no
it is in hcs' distro:
/Applications/Pd-0.38-0test4-HCS.app/Contents/Resources/src/m_pd.h
actually your include path should be appended with
/Applications/Pd-0.38-0test4-HCS.app/Contents/Resources/src/
so that the cc statement below reads
cc -DPD -Os -DUNIX -DMACOSX -Dunix -Wall -W -Wno-unused
-Wno-parentheses -Wno-switch -Wno-shadow -I. -I.. -I../include
-I/Applications/Pd-0.38-0test4-HCS.app/Contents/Resources/src/ -o
"aenv~.o" -c "../src/aenv~.c"
then it will work
lg martin
thanks
Ordenador-de-ibook:/applications/audio/Pd-0.38-0test4HCS1.app/ contents/resources/src/externals/build/darwin ibook$ make cc -DPD -Os -DUNIX -DMACOSX -Dunix -Wall -W -Wno-unused
-Wno-parentheses -Wno-switch -Wno-shadow -I. -I.. -I../include -o
"aenv~.o" -c "../src/aenv~.c" In file included from ../src/aenv~.c:1: ../../aenv~/aenv~.c:18:18: m_pd.h: No such file or directory In file included from ../src/aenv~.c:1: ../../aenv~/aenv~.c:31: error: parse error before '*' token ../../aenv~/aenv~.c:31: warning: type defaults toint' in declaration of
aenv_class' ../../aenv~/aenv~.c:31: warning: data definition has no type or
storage class ../../aenv~/aenv~.c:34: error: parse error before "t_object" ../../aenv~/aenv~.c:34: warning: no semicolon at end of struct or union ../../aenv~/aenv~.c:35: warning: type defaults toint' in declaration of
srate' ../../aenv~/aenv~.c:35: warning: data definition has no type or
storage class ../../aenv~/aenv~.c:36: error: parse error before "a" ../../aenv~/aenv~.c:36: warning: type defaults toint' in declaration of
a' ../../aenv~/aenv~.c:36: warning: data definition has no type or
storage class ../../aenv~/aenv~.c:37: error: parse error before "d" ../../aenv~/aenv~.c:37: warning: type defaults toint' in declaration of
d' ../../aenv~/aenv~.c:37: warning: data definition has no type or
storage class ../../aenv~/aenv~.c:38: error: parse error before "s" ../../aenv~/aenv~.c:38: warning: type defaults toint' in declaration of
s' ../../aenv~/aenv~.c:38: warning: data definition has no type or
storage class ../../aenv~/aenv~.c:39: error: parse error before "r" ../../aenv~/aenv~.c:39: warning: type defaults toint' in declaration of
r' ../../aenv~/aenv~.c:39: warning: data definition has no type or
storage class ../../aenv~/aenv~.c:40: error: parse error before "lastval" ../../aenv~/aenv~.c:40: warning: type defaults toint' in declaration of
lastval' ../../aenv~/aenv~.c:40: warning: data definition has no type or
storage class ../../aenv~/aenv~.c:43: error: parse error before '}' token ../../aenv~/aenv~.c:43: warning: type defaults toint' in declaration of
t_aenv' ../../aenv~/aenv~.c:43: warning: data definition has no type or
storage class ../../aenv~/aenv~.c:45: error: parse error before '*' token ../../aenv~/aenv~.c:45: error: parse error before '*' token ../../aenv~/aenv~.c:46: warning: return type defaults toint' ../../aenv~/aenv~.c: In function
aenv_perform': ../../aenv~/aenv~.c:47: error:x' undeclared (first use in this function) ../../aenv~/aenv~.c:47: error: (Each undeclared identifier is reported only once ../../aenv~/aenv~.c:47: error: for each function it appears in.) ../../aenv~/aenv~.c:47: error: parse error before ')' token ../../aenv~/aenv~.c:47: error:
w' undeclared (first use in this
function) ../../aenv~/aenv~.c:48: error:t_float' undeclared (first use in this function) ../../aenv~/aenv~.c:48: error:
out' undeclared (first use in this
function) ../../aenv~/aenv~.c:48: error: parse error before ')' token ../../aenv~/aenv~.c:51: error: parse error before "lastval" ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:100: error: parse error before '*' token ../../aenv~/aenv~.c: In functionaenv_dsp': ../../aenv~/aenv~.c:102: warning: implicit declaration of function
dsp_add' ../../aenv~/aenv~.c:102: error:x' undeclared (first use in this function) ../../aenv~/aenv~.c:102: error:
sp' undeclared (first use in this
function) ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:105: error: parse error before '*' token ../../aenv~/aenv~.c: In functionaenv_float': ../../aenv~/aenv~.c:107: error:
f' undeclared (first use in this
function) ../../aenv~/aenv~.c:108: error: `x' undeclared (first use in this
function) ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:113: error: parse error before '*' token ../../aenv~/aenv~.c: In functionaenv_new': ../../aenv~/aenv~.c:115: error:
x' undeclared (first use in this
function) ../../aenv~/aenv~.c:115: error: parse error before ')' token ../../aenv~/aenv~.c:116: warning: implicit declaration of function
floatinlet_new' ../../aenv~/aenv~.c:120: warning: implicit declaration of function
outlet_new' ../../aenv~/aenv~.c:120: warning: implicit declaration of function
gensym' ../../aenv~/aenv~.c:122: warning: implicit declaration of function
sys_getsr' ../../aenv~/aenv~.c:131: error:argc' undeclared (first use in this function) ../../aenv~/aenv~.c:132: warning: implicit declaration of function
atom_getfloat' ../../aenv~/aenv~.c:132: error:argv' undeclared (first use in this function) ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:141: error: parse error before '*' token ../../aenv~/aenv~.c: In function
aenv_lina': ../../aenv~/aenv~.c:143: error:x' undeclared (first use in this function) ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:146: error: parse error before '*' token ../../aenv~/aenv~.c: In function
aenv_loga': ../../aenv~/aenv~.c:148: error:x' undeclared (first use in this function) ../../aenv~/aenv~.c: At top level: ../../aenv~/aenv~.c:151: error: parse error before '*' token ../../aenv~/aenv~.c: In function
aenv_zero': ../../aenv~/aenv~.c:153: error:x' undeclared (first use in this function) ../../aenv~/aenv~.c: In function
aenv_tilde_setup': ../../aenv~/aenv~.c:159: warning: implicit declaration of function
class_new' ../../aenv~/aenv~.c:159: error:
t_newmethod' undeclared (first use in
this function) ../../aenv~/aenv~.c:159: error: parse error before "aenv_new" ../../aenv~/aenv~.c:160: warning: implicit declaration of function
class_sethelpsymbol' ../../aenv~/aenv~.c:161: warning: implicit declaration of function
class_addmethod' ../../aenv~/aenv~.c:161: error:t_method' undeclared (first use in this function) ../../aenv~/aenv~.c:161: error: parse error before "aenv_dsp" ../../aenv~/aenv~.c:162: warning: implicit declaration of function
class_addfloat' ../../aenv~/aenv~.c:162: error: parse error before "aenv_float" ../../aenv~/aenv~.c:163: error: parse error before "aenv_lina" ../../aenv~/aenv~.c:164: error: parse error before "aenv_loga" ../../aenv~/aenv~.c:165: error: parse error before "aenv_zero" make: *** [aenv~.pd_darwin] Error 1
attacksyour.net/pi