The Omni Group

Go Back   The Omni Group Forums > Developer > Omni Frameworks
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
Installing frameworks Thread Tools Search this Thread Display Modes
This might be a very stupid question, but could anyone tell me how do I install the frameworks so that I can use them?

I need OFTrie and OFStringScanner but I am not sure as to what I actually need to do to start using them.
  Reply With Quote
This is a great question, which we should better document, really!

For the Mac frameworks, if you do the install build as in the README:

Quote:
./Scripts/Build Frameworks install
the resulting frameworks will have @executable_path/../Frameworks in their dyld information. You should be able to link your Mac .app against these by ensuring that the installed products directory where the frameworks ended up is listed in the framework search paths for your app.

Then, after linking, you can then put these in your application's Frameworks directory (Foo.app/Contents/Frameworks) and the @executable_path goo will allow dyld to find the frameworks at runtime.

This is a fairly common pattern for frameworks in standalone Mac apps. We used to install frameworks /Library/Frameworks, but this leads to a form of "DLL hell" where the installed frameworks and dependent apps can get out of sync.
__________________
VP of Software Development
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing new diagram style philat101 OmniGraffle Extras 6 2012-10-05 02:32 AM
Method replacements you make in Omni frameworks atux Omni Frameworks 1 2010-12-26 07:17 AM
Use Omni Frameworks in Mac App Store imyrvold Omni Frameworks 2 2010-12-26 07:13 AM
Older Frameworks... sunfire Omni Frameworks 2 2009-06-04 07:51 AM
Building frameworks for the first time... Craig Hockenberry Omni Frameworks 6 2009-04-07 08:21 PM


All times are GMT -8. The time now is 09:39 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.