//============================================================================== JUCE_COMPONENT_ENTRY (JuceAU, JucePlugin_AUExportPrefix, Entry) //-- Error
#ifndef AUDIOCOMPONENT_ENTRY #define JUCE_DISABLE_AU_FACTORY_ENTRY 1 #endif
#if ! JUCE_DISABLE_AU_FACTORY_ENTRY // (You might need to disable this for old Xcode 3 builds) JUCE_FACTORY_ENTRY (JuceAU, JucePlugin_AUExportPrefix) //-- Error #endif
#if BUILD_AU_CARBON_UI JUCE_COMPONENT_ENTRY (JuceAUView, JucePlugin_AUExportPrefix, ViewEntry) //-- Error #endif
#if ! JUCE_DISABLE_AU_FACTORY_ENTRY #include "CoreAudioUtilityClasses/AUPlugInDispatch.cpp" #endif
Currently using Juce 4.2.1
I am unable to build an AU plugin because I am receiving “Expected unqualified-id” errors in these defines at the bottom of the juce_AU_Wrapper.mm file. I have no idea why. If I disable AU builds then VST plugins build fine.
I have built many projects previously using Juce 3.2 and C++99, recently I have switched to 4.2.1 and the Projucer also I now use C++11 features such as std::function and lambdas. So I had to change settings in the Projucer to support C++11, everything compiles fine except the AU Wrapper.
Any help would be appreciated , thanks.