[PD] Re: recompiling pd tk error?
james tittle
tigital at mac.com
Tue Apr 12 18:00:14 CEST 2005
On Apr 12, 2005, at 11:42 AM, Pat Pagano wrote:
> hi
>
> trying to re-compile pd i get a tk error?
> OSX 10.3
>
> it says it's here
> /Library/Frameworks/Tk.framework/Versions/8.4/Headers/tk.h
>
> but the configure script does not find it and i get:
> i would like to build it properly, but it seems i have been shamefully
> getting by with binaries :-0
>
>
> t_tkcmd.c:6:16: tk.h: No such file or directory
...yeh, don't know why this has been changed, but I always have to
hand-modify the pd makefiles: personally, I think the references
re:tcl/tk are screwed up :-\ For some reason they are using a bunch of
"../../../"'s, which makes the references relative to a particular dev
environment setup, and therefore extremely installation
specific...here's what I use in the makefile, just replace these lines
in yours:
GINCLUDE = $(INCLUDE) -F/Library/Frameworks -framework Tcl -framework
Tk -I/Library/Frameworks/Tk.framework/Versions/Current/Headers
-ILibrary/Frameworks/Tcl.framework/Versions/Current/Headers
-I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders
...and then:
#this is for Max OSX only...
$(BIN_DIR)/pdtcl: $(GOBJ) $(GSRC)
cd ../obj; libtool -dynamic -o $(BIN_DIR)/pdtcl $(GOBJ) \
/Library/Frameworks/Tk.framework/Versions/Current/Tk \
/Library/Frameworks/Tcl.framework/Versions/Current/Tcl \
/usr/lib/libSystem.B.dylib
...I don't think there's a real reason to specifically look for tk
headers in "Tk.framework/Versions/8.4/Headers"; it'd be just as fine to
do "Tk.framework/Versions/Current/Headers", or even
"Tk.framework/Headers"...
...that's all I know about that!
jamie
More information about the Pd-list
mailing list