|
#1
| ||||
| ||||
| I'm curious why frameworks cannot be accessed from within plugins (bundles). As far as i've found, this is only stated (rather, in between lines) but the real-world need for such is obvious: e.g. SDL, SDL_image etc. libraries are -appropriately- available as frameworks for OS X. my application uses runtime linked dynamic libs for accessing them (enhancing a system with e.g. SDL support). This cannot be done on OS X because bundles cannot call frameworks. Is there a bypass / other way of doing this? |
|
#2
| |||
| |||
| This is pretty much theory, but I believe you could build the SDL_image framework with an installation path which reflects the framework's location relative to the program which loaded the bundle: @executable_path/../Plugins/MySDLPlugin.plugin/Contents/Frameworks/ I'll come back and test this once I get my iMac working again =( [EDIT] Yes, this method works, with the restriction that your plugin must reside at a fixed location relative to the app which loads it, or at a fixed absolute path. Last edited by anarchie; July 14th, 2003 at 12:55 PM. |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I link to frameworks from command line compile? | rharder | Software Programming & Web Scripting | 2 | November 15th, 2002 10:36 AM |
| Frameworks | buc99 | Mac OS X System & Mac Software | 0 | June 9th, 2002 12:10 AM |
| Dependent frameworks | whitesaint | Software Programming & Web Scripting | 0 | October 2nd, 2001 07:01 AM |