Update from 4.1 to 4.2 to lastest tip Fail to compile


#1

I updated my project from 4.1 to 4.2, but it fails to compile, then I updated to lastest tip, but it fails again:

(xcode 6, osx 10.11, base sdk 10.9)

../../../../libs/JUCE/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:310:51: error: use of undeclared identifier 'kAudioComponentFlag_IsV3AudioUnit' isAUv3 = ((componentDesc.componentFlags & kAudioComponentFlag_IsV3AudioUnit) != 0); ^ ../../../../libs/JUCE/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:1564:57: error: use of undeclared identifier 'kAudioUnitProperty_RequestViewController' if (AudioUnitGetPropertyInfo (plugin.audioUnit, kAudioUnitProperty_RequestViewController, kAudioUnitScope_Global, ^ ../../../../libs/JUCE/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:1567:64: error: use of undeclared identifier 'kAudioUnitProperty_RequestViewController' && AudioUnitGetPropertyInfo (plugin.audioUnit, kAudioUnitProperty_RequestViewController, kAudioUnitScope_Global, ^ ../../../../libs/JUCE/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:1576:66: error: use of undeclared identifier 'kAudioUnitProperty_RequestViewController' if (noErr == AudioUnitSetProperty (plugin.audioUnit, kAudioUnitProperty_RequestViewController, kAudioUnitScope_Global, 0, info, dataSize)) ^ ../../../../libs/JUCE/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:1924:56: error: use of undeclared identifier 'kAudioComponentFlag_IsV3AudioUnit' bool isAUv3 = ((componentDesc.componentFlags & kAudioComponentFlag_IsV3AudioUnit) != 0); ^ ../../../../libs/JUCE/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:1934:53: error: use of undeclared identifier 'kAudioComponentInstantiation_LoadOutOfProcess' AudioComponentInstantiate (auComponent, kAudioComponentInstantiation_LoadOutOfProcess, ^ ../../../../libs/JUCE/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:1956:57: error: use of undeclared identifier 'kAudioComponentFlag_IsV3AudioUnit' return ((componentDesc.componentFlags & kAudioComponentFlag_IsV3AudioUnit) != 0); ^ ../../../../libs/JUCE/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm:1986:51: error: use of undeclared identifier 'kAudioComponentFlag_IsV3AudioUnit' bool isAUv3 = ((desc.componentFlags & kAudioComponentFlag_IsV3AudioUnit) != 0); ^ 8 errors generated.

Any help would be appreciated. Thanks.


#2

See Version 4.2, Cant compile on OSX


#3

Thanks and sorry for the repost.