Re: [F-Script-talk] NSBundle bundleWithPath and 2.0 alpha
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2008-08-07 21:42:46
|
It looks like an architecture mismatch. In particular, make sure that you load bundles compiled for a 32 bit architecture in an instance of F-Script running in 32 bit mode (same for 64 bit). Also, if a bundle does not support garbage collection, it will not load into the GC version of F-Script. To make F-Script run in 32 bit mode, you can use the Finder inspector on F-Script.app and check the "open in 32 bits" checkbox. To produce a version of F-Script that runs in non-GC mode, just change the GC flag in the build properties of the F-Script target in Xcode and recompile. Best, Philippe Le 7 août 08 à 23:24, J.C.Burns a écrit : > > On the version 2.0 alphas of F-Script, I've run into problems loading > frameworks. > > (NSBundle bundleWithPath:'~/Documents/cocoa/MCPKit_bin_3.0.1/ > MCPKit_bundled.framework') load > > ...and other frameworks like this return nil, with no explanation in > the system log and > > (NSBundle bundleWithPath:'/Library/Frameworks/GData.framework') load > > returns false, with > > Aug 7 16:46:46 gemela F-Script[55384]: Error loading /Library/ > Frameworks/GData.framework/GData: dlopen(/Library/Frameworks/ > GData.framework/GData, 265): no suitable image found. Did find:\n / > Library/Frameworks/GData.framework/GData: no matching architecture in > universal wrapper\n /Library/Frameworks/GData.framework/GData: no > matching architecture in universal wrapper > > in there. > > (NSBundle bundleWithPath:'/Library/Frameworks/MacFUSE.framework') load > > also returns false. > > > Is this just broken because it's an alpha? > > > > Thanks... > > --jcburns > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk > |