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: Ben Dyer <email@hidden>
- Date: Fri, 24 Jan 2003 07:48:52 +0000
Hi Howard,
I don't know if this will help but I've had similar problems since
upgrading to 10.2.3 just before Christmas.
I'm using Emagic's AUVST with PB not CW but I am running a custom GUI.
Here's what happened :
1) Upgraded to 10.2.3 - Plug-in consistently crashed when launching LA
during Core Audio initialisation.
2) After a few e-mails with Nikolaus from Emagic I made sure my 'local'
base classes in the project were the latest versions.
Still no dice.
3) Upgraded to Dec 2002 Dev tools. Now, the plug-in would crash in a
slightly different place and at last I had some debug info.
It seemed to be having a problem in CVSTAURegister at the component
entry point associated with the view entry.
// Register entry point of the plugin
#if (VST2AU_MODE==VST2AU_MODE_EFFECT)
ComponentEntryPoint<CVST2AUPlugin>::Register('aufx', psFX->uniqueID,
'VST ');
#else
ComponentEntryPoint<CVST2AUPlugin>::Register('aumu', psFX->uniqueID,
'VST ');
#endif
delete pcFX;
// Register entry point of the view
#if VST2AU_USES_GUI
ComponentEntryPoint<CVST2AUView>::Register('auvw', psFX->uniqueID,
'VST ');
#endif
Out of desperation, I tried moving the contents of #if VST2AU_USES_GUI
to before the plugin entry point. Lo and behold everything started
working!! I have no idea why but I'll hopefully find out soon! I was
just glad to finally have a working plug-in again as the deadline draws
ever closer.
Hope this is of some help.
Cheers,
Ben.
On Thursday, Jan 23, 2003, at 23:39 Etc/GMT, 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.