Re: Latest AudioUnits files won't compile in CodeWarrior!
Re: Latest AudioUnits files won't compile in CodeWarrior!
- Subject: Re: Latest AudioUnits files won't compile in CodeWarrior!
- From: Bill Stewart <email@hidden>
- Date: Fri, 24 Jan 2003 11:59:39 -0800
We're in the process of fixing these and will have an updated SDK out
soon.
The problem basically for us has been that we use PB and it works fine
there - we're ammending our PB projects to generate the deprecated
warnings so we won't fall into this problem again... Apologies for the
confusion...
Bill
On Friday, January 24, 2003, at 09:35 AM, Howard Moon wrote:
I see one reason why the new Apple stuff won't compile...it's not
Carbonized! The file AUBase.cpp includes <algo.h>, instead of the
newer <algorithm>. And the file CarbonEventHandler.cpp uses the old
EventHandlerRef type instead of the new EventHandlerUPP type, which
causes problems additionally with the calls to InstallEventHandler
(among others).
Apple, what have you done??? I'm trying to figure out how to
carbonize this code, but it's tough. I can't simply replace instances
of EventHandlerRef with EventHandlerUPP (I tried). Anyone know how I
can get my AU to compile with the new stuff (under CodeWarrior)???
Thanks,
Howard
On Thursday, January 23, 2003, at 03:39 PM, Howard Moon wrote:
Hi again...
I had hoped that using the latest AudioUnits SDK sample files (such
as AUBase.cpp) would solve problems I'm having getting my custom GUI
to work under the Logic AU porting SDK. Unfortunately, those new
files won't compile in CodeWarrior, at least not alongside the
existing VST2AU project includes and libs.
The problem is that Apple uses ProjectBuilder, I guess, and uses the
/usr/bin/gcc/Darwin files in its design. Trying to add those paths,
I get many errors (mostly redefined names).
Is there some way to get the latest Apple stuff to compile under
CodeWarrior? I can't see taking an existing (working) CodeWarrior
VST project and trying to make a ProjectBuilder project from it. And
the porting SDK don't have the required functions such as
GetNumCustomUIComponents and GetUIComponentDescs in the AUBase.cpp
file, so my plug-in's view/editor class is not getting loaded >
properly.
Anyone know how I can resolve this issue? Has anyone out there
ported a VST project with a custom GUI to AudioUnits? (Especially I
am interested in if this has been done with the new December 2002
Developer toolkit and its associated AudioUnits changes.)
(Oh, eMagic......are you going to update the porting SDK to support
that updated AudioUnits?)
Any help (incl. assisted suicide) appreciated...
Howard
_______________________________________________
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.
_______________________________________________
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.
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.