actually i checkd and i cannot find that file in src folder neither in any other inside the pd distro.
oh. did i copy it there myself? don't know. maybe you should just get
the pd source distribution (from millers site or cvs, main branch) and
copy the "src" folders files into
/Applications/Pd-0.38-0test4-HCS.app/Contents/Resources/src
Ordenador-de-ibook:/applications/audio/Pd-0.38-0test7.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
"/Applications/audio/Pd-0.38-0test7.app/Contents/Resources/src/ aenv~.c" cc:
/Applications/audio/Pd-0.38-0test7.app/Contents/Resources/src/aenv~.c:
No such file or directory cc: no input files make: *** [aenv~.pd_darwin] Error 1Actually aenv~.c is in
/applications/audio/Pd-0.38-0test7.app/contents/resources/src/ externals/build/src
again: move pd directly into applications. i do not really know if this
is still necessary but it used to be. and it usually does not hurt.
you obviously changed the wrong path. you should change the include
path not the path to aenv.
maybe paste the makefile in the next mail. i am too lazy to download
aenv~ whatever it is.
But m_pd.h is nowhere as far as i can see. I understand that the
m_pd.h should be part of the PD distribution included in the src folder and its always used by the compiler to compile the externals. (Sorry this is a bit non-pd question, its pretty general)
yes this is right. and i really wonder where it's gone
then it will work
if you really copy pd to where it should be and change the include path
instead of the source path for the external then it will surely work
lg martin
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 1attacksyour.net/pi _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://iem.at/cgi-bin/mailman/listinfo/pd-list-- enrike
attacksyour.net/pi
maybe paste the makefile in the next mail. i am too lazy to download
aenv~ whatever it is.
Here is goes. My pd is now on applications so the path to the app package is /applications/Pd-0.38-0test7.app but the pd executable would be (if i am right) /applications/Pd-0.38-0test7.app/contents/resources/bin/pd
I have unzipped the externals file to the desktop and i cd to the externals/build/darwin where the makefile is, then i do make as it suggests on the readme file.
i found out that m_pd.h was on the src folder. I must have been blind this morning not to see it. Actually i am starting to feel embarrased that i am unable to solve this despite your instructions. Thank you very much for your patience and help. i am new to mac and osx and i guess this is also not helping much i find myself often lost in docens of windows open. I dont understand how to deal with the window system. I am planning to install linux as i am more happy with the way it deals with navigating within directories and stuff like that, but i am disgressing... I am gonna send and email to the whole list again about ideas i have been thinking about all this.
on the mean time i keep trying ...
this is the makefile for darwin as it comes in the distribution:
### begin makefile #####
prefix=$(DESTDIR)/usr/local/pd
EXTERNALS = $(shell ls )
all: link.stamp $(EXTERNALS:.c=.pd_darwin)
.SUFFIXES: .pd_darwin
PDEXECUTABLE = /usr/local/pd/bin/pd # or ../../../pd/bin/pd
MACOSXCFLAGS = -DPD -Os -DUNIX -DMACOSX -Dunix
-Wall -W
-Wno-unused -Wno-parentheses -Wno-switch -Wno-shadow
MACOSXINCLUDE = -I. -I.. -I../include
MACOSXLINKFLAGS = -bundle -bundle_loader $(PDEXECUTABLE)
%.pd_darwin: ../src/%.c
$(CC) $(MACOSXCFLAGS) $(MACOSXINCLUDE) -o "$*.o" -c "../src/$*.c"
$(CC) $(MACOSXLINKFLAGS) -o "$*.pd_darwin" "$*.o" -lc -lm
# test -f $*.libs && cat $*.libs
chmod a-x "$*.pd_darwin"
rm -f "$*.o"
clean: -rm *.pd_darwin *~ *.c -rm -rf root Package.pkg -rm link.stamp
install-doc: test -d $(prefix)/doc/5.reference || mkdir -p $(prefix)/doc/5.reference cp -r ../doc/* $(prefix)/doc/5.reference
install: install-doc test -d $(prefix)/extra || mkdir -p $(prefix)/extra install -m644 *.pd_darwin $(prefix)/extra
package:
test -d root/doc/5.reference || mkdir -p root/doc/5.reference
cp -r ../doc/* root/doc/5.reference
test -d root/extra || mkdir -p root/extra
install -m644 *.pd_darwin root/extra
echo Now opening PackageMaker. Interact with that program now.
Choose the Files tab, and correct the path to point to the newly-made
./root
directory. Then choose File -> Create Package.
open Package.pmsp
altpackage:
test -d root/Help || mkdir -p root/Help
cp -r ../doc/* root/Help
test -d root/Externals || mkdir -p root/Externals
install -m644 *.pd_darwin root/Externals
echo Now opening PackageMaker. Interact with that program now.
Choose the Files tab, and correct the path to point to the newly-made
./root
directory. Then choose File -> Create Package.
open Altpackage.pmsp
link: link.stamp
link.stamp: cp ../src/*.c . rm vst.c # MacOSX exceptions that don't work just yet rm ogg* ossmixer.c plugin~.c cdplayer.c promiscous~.c serialctl.c rm serial_bird.c serial_ms.c proc.c streamin~.c streamout~.c rhythm_* touch link.stamp make
### end makefile #####
hi,
Here is goes. My pd is now on applications so the path to the app package is /applications/Pd-0.38-0test7.app
good
but the pd executable would be (if i am right) /applications/Pd-0.38-0test7.app/contents/resources/bin/pd
right
i find myself often lost in docens of windows open. I dont understand how to deal with the window system. I am planning to install linux as i am more happy with the way it deals with navigating within directories and stuff like that, but i am disgressing...
on the command line this is essentially the same on linux and osx. one terminal window should be enough for the task of compiling and even also starting pd. but of course it is a matter of getting used to the mac.
prefix=$(DESTDIR)/usr/local/pd
this should read /Applications/Pd.../Contents/Resources/extra if you want to install using "make install". i usually just copy the .pdp_darwin file by hand.
PDEXECUTABLE = /usr/local/pd/bin/pd # or ../../../pd/bin/pd
this should be /Applications/Pd.../Contents/Resources/bin/pd
MACOSXINCLUDE = -I. -I.. -I../include
And this line should be appended with -I/Applications/Pd.../Contents/Resources/src
of course the Pd... in the above paths means Pd-0.38-0test4-HCS.app
then it should work.
lg martin
attacksyour.net/pi