Steve Ball | 25 May 22:54
Picon
Gravatar

Embedded Frameworks

Hi All,

I'm developing an application for the Mac that uses an extension  
(TclXML, of course) and am trying to set it up with frameworks so that  
it is self-contained; ie. installation is simply drag-n-drop. My  
framework compiles, links and runs against the full installation of  
Tcl/Tk (Aqua) just fine (tested using version 8.5.6). However, when I  
try and run against the embedded version it crashes in  
Tcl_GetThreadData(). I've tried the pre-built BI binaries, as well as  
building from source and get the same result. Do I have to compile/ 
link a dylib differently in order to get it to run in an embedded app?

On a related topic, I notice in the Tcl docs that loading a Mach-O  
bundle is better than a dylib. How does one build a Mach-O linrary and  
include it in a framework? There's very little documentation in the  
Apple Xcode doc library.

TIA,
Steve Ball

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 

Gmane