swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] OSX frameworks


From: Jonathan Impett
Subject: Re: [Swarm-Support] OSX frameworks
Date: Wed, 16 Apr 2003 09:14:01 +0100

I'm trying to use the CoreMIDI framework. When I include the header in the c code for the functionality I need to add (I'm creating MIDI ports from Observer Swarm), the compiler gives me a thousand syntax errors in .../ MIDIServices.h. Presumably it finds it, at least!

As for the linking, I obviously haven't got that far, but would this line go in the APPLIBS line of the Makefile?
        Thanks for all this,
        Jonathan



On Saturday, April 12, 2003, at 01:40 AM, Bill Northcott wrote:

A few extras to Russell's comments:
The standard search path is for frameworks is:
$HOME/Library/Frameworks:/Library/Frameworks:/System/Library /Frameworks

However, it is not quite as simple as linking against the framework. In
order to have some chance of success, you also need to include the
framework's headers at compile time. This is messy and requires changes
to the source code like:
#include <tcl.h> becomes #include <Tcl/tcl.h>.

I have avoided using frameworks at this point, because the nicest way to
cope with this nastiness is to use Project Builder with Jam.
Unfortunately Apple's current compiler crashes with the -fgnu-runtime
flag.  Which rules out using the PB build system.

I am given to understand that Apple have fixed their compiler but seem to
be hiding the code.  My assumption is this concealment will end at the
June developer conference, when new hardware will be announced.

Which frameworks do you want to us?

Bill Northcott

address@hidden wrote on 11/04/2003 07:46:24 AM:

Can any kind soul tell me the line to add to a swarm makefile to link
to an OS X framework (dynamic libraries, I understand - should work,
huh?)? They're in /System/Library/Frameworks, but my random
permutations don't find them thus far.

Thanks,
Jonathan

Dr Jonathan Impett
School of Music
University of East Anglia
Norwich NR4 7TJ
UK
+44 (0)1603 592408
address@hidden

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support




Dr Jonathan Impett
School of Music
University of East Anglia
Norwich NR4 7TJ
UK
+44 (0)1603 592408
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]