AAX on OSX with GCC


#1

Compiling the AAX wrapper with GGC (4.2) leeds to the following error:

AAX/juce_AAX_Wrapper.mm:27:
/Users/zplane/Builds/MacOSX/…/…/JuceLibraryCode/modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp:92: error: ‘Component’ is already declared in this scope

Any suggestions to fix that problem?


#2

I just tried with GCC 4.2 and it compiled with no problems… Maybe need a new version of the AAX SDK?


#3

try using juce::Component instead of Component


#4

just dragging this up from the dead as i have been up against this issue lately

Xcode 3.2.6

10.6 SDK

GCC 4.2

latest Git of JUCE code 28th Feb.

 

i get this when creating and trying to compile with a fresh Introjucer building AAX output.

the only way to get round it is to comment out the "using juce::Component" line from the code - then it appears all is well.