On Thu, 15 Dec 2005, Hans-Christoph Steiner wrote:
On Dec 15, 2005, at 1:17 PM, james tittle wrote:
matju (or anyone else working on desire),
I didn't receive your message. pd-dev seems to eat some once in a while.
set $OS $tcl_platform(platform) isn't fine grained enough for our purposes, but would be better if it were: set $OS $tcl_platform(os) ...doing that, $OS is set to Darwin here, but with (platform) I also get unix, which isn't very specific 8-\
Actually, I think you need a combo of both $tcl_platform(platform) and $tcl_platform(os) to cover all the supported situations. This is what is at the top of u_main.tk: if { $tcl_platform(platform) == "windows" } { set pd_nt 1 } elseif { $tcl_platform(os) == "Darwin" } { set pd_nt 2 } else { set pd_nt 0 }
Yes, it should the the way that Hans says, but making those changes:
set pd_nt 0 -> set OS unix set pd_nt 1 -> set OS windows set pd_nt 2 -> set OS osx
To fit the actual code in desire.tk
[gdb] (gdb) (gdb) Starting program: -guiport 13666 ...but then it doesn't go any further:
It's supposed to continue like this:
[gdb] [Thread debugging using libthread_db enabled] [gdb] [New Thread 1079372000 (LWP 11740)]
If it doesn't, then try starting desire.tk with option -nogdb and if it doesn't cut it either then try starting _regular_ puredata (devel or pureMSP) with -guiport just in case there's a bug that makes it hang on OSX.
here's what I get when trying to open a patch: can not find channel named ""
That means that there's no socket because the server isn't finished loading. a Tcl channel = a C FILE*.
...any insight here? I'm wondering if it still tries to just call pd without the pd_path: the app_pkg bundle doesn't have the "standard" install locations for pd and friends:
I think that this might be the problem, but I haven't fixed it yet. The way I want it, desire.tk will get installed in the main bin along with pd (by "main" I mean not the lib/pd/bin/ backhouse). It would then try to load pd from the same directory as itself instead of PATH. does that make sense?
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada