[PD-dev] Mac OS X Pd.app build fixes
hans at eds.org
Tue May 24 00:57:03 CEST 2005
I just found out a bug/problem with this patch, but its minor.
Basically, if you build with Jack support, bin/pd won't start unless
the Jack.framework is installed. Previously, it would start fine
without the Jack.framework. I haven't confirmed what exactly is
causing this, but I think its related.
On May 23, 2005, at 12:27 PM, Miller Puckette wrote:
> Cool... I'll try to merge this into 0.39 today.
> On Sun, May 22, 2005 at 01:55:04AM -0400, Hans-Christoph Steiner wrote:
>> After a long journey into obscure Mac OS X linking options, I finally
>> figured out the build problem that Miller and I were having. I also
>> included Jamie's renaming fix, and renamed "pdtcl" to "libPdTcl.dylib"
>> following the Mac OS X standard. You can get the patch here:
>> I ended up with this bear of a linking target:
>>> $(BIN_DIR)/libPdTcl.dylib: $(GOBJ) $(GSRC)
>>> cd ../obj && $(CC) -dynamiclib -read_only_relocs warning \
>>> -o $(BIN_DIR)/libPdTcl.dylib $(GOBJ) \
>>> -F at TCLTK_FRAMEWORKS_PATH@ \
>>> -framework Tcl -framework Tk -framework System \
>> -Wl,-install_name, at executable_path/../Resources/bin/libPdTcl.dylib
>>> install_name_tool -change
>> @executable_path/../Frameworks/Tcl.framework/Versions/8.4/Tcl \
>> @TCLTK_FRAMEWORKS_PATH@/Tk.framework/Versions/8.4/Tk \
>> @executable_path/../Frameworks/Tk.framework/Versions/8.4/Tk \
>> With this patch, the preferred way to build the Pd.app is to install
>> TclTkAqua.dmg version of your choice into the default location.
>> (preferrably the newest, especially 8.4.7 or newer since it included
>> Jamie's CG updates). So I am using TclTk-8.4.9 installed into
>> /Library/Frameworks. On Tiger, TclTk 8.4.7 is installed into
>> To build the Pd.app, run "make darwin_app_core" in
>> "packages/darwin_app". Make sure a copy of
>> "TclTkAquaStandalone-8.4.9.dmg" is in that same directory. The
>> Makefile will pull all the files it needs from there.
>> "Looking at things from a more basic level, you can come up with a
>> direct solution... It may sound small in theory, but it in practice,
>> can change entire economies."
>> - Amy Smith
>> PD-dev mailing list
>> PD-dev at iem.at
"I have the audacity to believe that peoples everywhere can have three
meals a day for their bodies, education and culture for their minds,
and dignity, equality and freedom for their spirits."
- Martin Luther King, Jr.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2353 bytes
Desc: not available
More information about the Pd-dev