XCode 4 - Audio Unit problem - AUMIDIEffectBase.cpp


#1

Hi folks,

I’ve finally taken the plunge and have started using XCode 4.1 (!)

And I now can’t build my Audio Units!

/Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIEffectBase.cpp:154: error: request for member ‘MIDIEvent’ is ambiguous
file://localhost/Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIEffectBase.cpp: error: Semantic Issue: Member ‘MIDIEvent’ found in multiple base classes of different types
/Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.h:68: error: candidates are: virtual OSStatus AUMIDIBase::MIDIEvent(UInt32, UInt32, UInt32, UInt32)
/Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.h:701: error: virtual OSStatus AUBase::MIDIEvent(UInt32, UInt32, UInt32, UInt32)

Note to all: already raised in this thread, moving there… http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=7563

Pete


#2

I had the same issue, it’s a bug in apple sources I think. If you add “AUMIDIBase::” before the MIDIEvent it will work fine, if I recall correctly


#3

OK, thanks! :slight_smile: