The Omni Group Forums

The Omni Group Forums (
-   Omni Frameworks (
-   -   Installing frameworks (

Werdan 2010-07-20 09:52 AM

Installing frameworks
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.

Tim Wood 2010-07-21 12:54 PM

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[/QUOTE]

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 ( 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.

All times are GMT -8. The time now is 10:41 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.