64 bit AudioUnits: Rez flags for FilterDemo, AU Template
64 bit AudioUnits: Rez flags for FilterDemo, AU Template
- Subject: 64 bit AudioUnits: Rez flags for FilterDemo, AU Template
- From: Chris Santoro <email@hidden>
- Date: Thu, 06 Oct 2011 12:45:52 -0400
Greetings!
I'm having a mysterious issue here with building a 64-bit version of FilterDemo. The way it comes off of Apple's website, it will not build properly for x86_64. The build succeeds, but the AU will not show up for auval -64 or AULab. This issue does not exist if you start a new AU Template with Cocoa View from XCode, only with FilterDemo, with nearly identical build settings.
For AU Template, you correctly get all 4 when doing a universal build: -d ppc_YES -d i386_YES -d ppc64_$ppc64 -d x86_64_YES
But with FilterDemo, you only get 32 bit archs: -d ppc_YES -d i386_YES, even if you explicitly add "-d x86_64_YES" to "Other Rez Flags".
This causes the resources to be compiled without 64 bit support for FilterDemo, and hence it doesn't show up.
I'm not as interested in getting it working (I could just make the modifications and do that) as I am in deeply understanding what is going on with XCode, and why the correct flags are not being passed to Rez in the case of FilterDemo. Is it an incompatibility with older XCode projects and 64 bit architectures? Does this suggest that, if I have a lot of legacy XCode AU projects to port to 64 bit, that I should port them to fresh, new XCode projects?
Any help or knowledge from you XCode/Rez gurus would be greatly appreciated! Thanks!
Chris
_______________________________________________
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