Modules: can't build VST/AU on macos

I fetch the very latest version from the modules branch, open the audio plugin demo in xcode and try to build it. Compilation fails on the AU wrapper with

[quote]/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:1919: error: variable or field ‘GetGlobalMouse’ declared void

/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework/Headers/CarbonEventsCore.h:1919: error: ‘CarbonDummyPointName’ was not declared in this scope

etc
[/quote]

This issue is the same with xcode 3/snow leopard and xcode 4/lion

Oops, sorry - fixed now.

It works, thanks !

There is still a small glitch with 64-bit AU, though. The ‘BUILD_CARBON_UI’ seems to be set to 0 too late juce_AU_Wrapper.mm .
If I move

if JUCE_64BIT #define JUCE_SUPPORT_CARBON 0 #endif
before the #include “…/utility/juce_CheckSettingMacros.h”, replacing the JUCE_64BIT with LP64 , then it works.

Thanks!