On Jan 25, 2005, at 12:32 AM, zack wrote:
Did anyone finally come up with a fix for error-free compiling of recent pd versions, such as pd-0.38-2 on osx?
yes
Seems there's (also) a question about which version(s) of tcl/tk to use.
...not so much atm: I'd go with the latest 8.4, which is 8.4.9, I think...this incorporates all the speed ups except for ATSUI font drawing, but it's not clear that those are as fast as they should be...
I would like to know how to get beyond the following line while compiling pd:
cc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -O2 -DMACOSX -DUNISTD -I/usr/X11R6/include -I../portaudio_v18/pa_common -I../portaudio_v18/pablio -I../portmidi_osx -Wno-error
-DUSEAPI_PORTAUDIO -DPA_BIG_ENDIAN -DINSTALL_PREFIX="/usr/local" -I. -F../../Frameworks -framework Tcl -framework Tk
-I../../Frameworks/Tk.framework/Versions/Current/Headers
-I../../Frameworks/Tcl.framework/Versions/Current/Headers
-I../../Frameworks/Tcl.framework/Versions/8.4/PrivateHeaders -c -o ../obj/t_tkcmd.o t_tkcmd.c t_tkcmd.c:6:16: tk.h: No such file or directory
...well, this has cropped up lately: I guess miller is keeping his tcl/tk frameworks in a nonstandard place? In any event, the problem is that the frameworks are referred to in relative paths, which will probably be different on every machine...tcl/tk frameworks are, by default, installed in "/Library/Frameworks", so the easy fix here is to change the "-I../../"'s in the makefile to "-I/Library/"...this needs to be done in several places throughout the makefile (I think 4?)...btw, -O3 seems to be fine too...
l8r, jamie