Hello, I'm hoping some MacOSX gurus can help me traverse this mine-field.
What I'm trying to do: Port Pd-l2ork (quick-and-dirty) to MacOSX in the form of a Pd-l2ork.app
Minefields:
must use tcl/tk Framework that uses Carbon instead of Cocoa. That should be ok because Pd-extended.app is currently set up to use Carbon.
What I've done so far:
instead of Cocoa.
App's Framework directory instead of system directories
What crashes so far:
load $pd_guidir/bin/libPdTcl.dylib It finds the dylib fine but then it crashes, with the crash report referencing the first line of the following function of t_tkcmd.c in the backtrace:
int Pdtcl_Init(Tcl_Interp *interp) { const char *argv = Tcl_GetVar(interp, "argv", 0);
Any ideas where to begin to debug this? Is there some code I can add to Pdtcl_Init to print out some info I can use to tell where it's going wrong?
I put the full error log here: http://pastebin.com/duHdRrsY
Any suggestions appreciated.
-Jonathan