On 9 September 2010 23:07, Eric Wing <[email protected]> wrote: > On 9/9/10, Thomas Hogarth <[email protected]> wrote: > > Hi Eric > >But in fact, you must dynamically link to Apple's > >frameworks so dynamic linking does indeed work. So for iOS itself, I > >can't imagine needing a new version of the OS. >
Oh yeah, I'll defo give it a whirl then >Actually, there are two problems with static linking. First there are >technical problems. Objective-C in particular has these weird areas >where if you build and link to static libraries, things might break. I >never understood it, but I think it has to do with the very dynamic >nature of Objective-C and the compiler not fully understanding that >when building static. There are magic flags you need to pass in these >cases, but I read there are still edge cases that don't get handled. Wasn't aware of this and hasn't been an issue yet, but I've also been avoiding Objective-C unless I absolutely require it. >Second, I haven't audited the OSG plugins, but I have heard >suggestions that some of the plugins may contain or require GPL or >LGPL code (no static linking clauses) so if you build those plugins >statically into your app, you may be in violation of the licensing t>erms unless you are distributing your source code. Didn't think about the other plugins, I'm using a pretty basic set at the moment. I guess I better check up on the FreeTypes lib licence I'm still pretty new to Mac dev (don't realy uinderstand exactly what Darwin is :) ) and especially IPhone but I seem to be getting there. I really appreciate all your advice Eric Cheers Tom
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

