RE: More link errors
RE: More link errors
- Subject: RE: More link errors
- From: "Mikael Hillborg" <email@hidden>
- Date: Tue, 4 May 2004 22:46:35 +0200
I'm using XCode 1.1 on 10.3.3 with AU SDK 1.3.1.
>
-----Original Message-----
>
From: Marc Poirier [mailto:email@hidden]
>
Sent: den 4 maj 2004 22:28
>
To: Mikael Hillborg
>
Cc: email@hidden
>
Subject: RE: More link errors
>
>
>
Huh, well than it's pretty weird that you're getting those linker errors,
>
cuz that's where they are implemented. I don't know, I've gotten those
>
errors before, when I've forgotten to include AudioToolbox.framework, and
>
then I go and include it and then the errors go away. What IDE are you
>
using? If Project Builder or Xcode, you could try manually adding the
>
linker flag:
>
-framework AudioToolbox
>
I think that's the syntax, you can man ld to double check...
>
>
But note that framework libraries are dynamically linked. That way the
>
version of the framework living on the user's system is what is used for
>
the implementation code at runtime rather than the version that
>
was living
>
on your system when you built your software, so that then, when Apple
>
releases updates to those frameworks, all software inherits the
>
improvements right away without being rebuilt.
>
>
Marc
>
>
>
>
On Tue, 4 May 2004, Mikael Hillborg wrote:
>
>
> It's included.
>
>
>
> Where are these defined really? Reading the .h files in the
>
> AudioToolbox framework, they are declared as *extern* only.
>
> So where are they defined and implemented?
>
>
>
> M
>
>
>
> > -----Original Message-----
>
> > From: Marc Poirier [mailto:email@hidden]
>
> > Sent: den 4 maj 2004 21:32
>
> > To: Mikael Hillborg
>
> > Cc: email@hidden
>
> > Subject: Re: More link errors
>
> >
>
> >
>
> > You need to include the AudioToolbox.framework in your project.
>
> > The framework includes the headers and the libraries.
>
> >
>
> > Marc
>
> >
>
> >
>
> >
>
> > On Tue, 4 May 2004, Mikael Hillborg wrote:
>
> >
>
> > > As far as I can see the latest SDK doesn't include
>
> > > any MusicDevice sample, so I changed the effect sample
>
> > > into a music device with a carbon view. But I get a less
>
> > > pleasant amount of link errors, e.g. these
>
> > >
>
> > > _AUListenerCreate
>
> > > _AUListenerDispose
>
> > > _AUParameterListenerNotify
>
> > > _AUListenerAddParameter
>
> > > _AUListenerRemoveParameter
>
> > > _AUParameterValueFromLinear
>
> > > _AUParameterValueToLinear
>
> > >
>
> > > when trying to convert the sample effect. I inherit
>
> > > the music device base class etc as usual.
>
> > >
>
> > > They are declared in AudioToolbox.framework and
>
> > > AudioUnitUtilities.h, but they're declated as extern.
>
> > > Where are the actual implementations?
>
> > >
>
> > > M
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.