[futurebasic] Re: [FB] Mixing frameworks FBToC/Cocoa/Carbon

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2009 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Thu, 13 Aug 2009 23:50:36 +1200
Robert Covington wrote:

> Thanks RP, that will be handy , but was hoping for an answer as  
> asked. PYMIDI framework (Pete Yandall MIDI) simplifies several tasks.
>
> ] If one can,  what is needed to use a 3rd party framework with an  
> FBToC FB app?

After you have obtained the framework, which I assume is named  
PYMIDI.framework, put it in /Library/Frameworks (or ~/Library/ 
Frameworks for single-user only).

Then the line of code below should allow (1) the compiler to see the  
framework's headers and (2) the linker to see the framework's  
executable:

include library "PYMIDI/PYMIDI.h"

Robert P.