Re: Loading SampleHardWarePlugin problem
Re: Loading SampleHardWarePlugin problem
- Subject: Re: Loading SampleHardWarePlugin problem
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 24 Feb 2011 12:42:13 +0100
Le 24 févr. 2011 à 12:30, sheen mac a écrit : Hi All, I download the SampleHardwarePlugin code from apple site.Build and copy it into "/Library/Audio/Plug-Ins/HAL/" and try totake it using NSBundle.But I got error in cosole. Error loading /Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn: dlopen(/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn, 265): no suitable image found. Did find: /Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn: mach-o, but wrong architecture The code I used to load isNSBundle *_bundle=[NSBundle bundleWithPath:@"/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin"];
Than answer is in the question: "mach-o, but wrong architecture".
You host and your plugin must have the same architecture (32 bit for both or 64 bit for both).
PS: Do not cross post (post message on more than one list at a time)
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden