RTAS build failed - Unknown type name 'Point'


#1

Seems something is Defining "Point"...

In file included from /Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/juce_RTAS_DigiCode1.cpp:30:
In file included from /Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/juce_RTAS_DigiCode_Header.h:67:
In file included from /Developer/AdditionalSDKs/PT_90_PlugInSDK/AlturaPorts/TDMPlugIns/common/MacAlwaysInclude.h:70:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:240:3: error: unknown type name 'Point'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:248:3: error: unknown type name 'Point'
  Point               location;               /* Folder's location in the parent folder */
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:261:3: error: unknown type name 'Point'
  Point               scrollPosition;         /* Scroll position (for icon views) */
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:284:3: error: unknown type name 'Point'
  Point               fdLocation;             /* File's location in folder. */
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:314:3: error: unknown type name 'Point'
  Point               frLocation;             /* Folder's location in parent folder */
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Finder.h:327:3: error: unknown type name 'Point'
  Point               frScroll;               /* Scroll position */


#2

Thanks! Should be ok now!


#3

stil not yet there

​
/Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp:890:45: error: use of undeclared identifier 'JucePlugin_PreferredChannelConfigurations'
        const short channelConfigs[][2] = { JucePlugin_PreferredChannelConfigurations };
                                            ^
/Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp:891:32: error: no matching function for call to 'numElementsInArray'
        const int numConfigs = numElementsInArray (channelConfigs);
                               ^~~~~~~~~~~~~~~~~~
In file included from /Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/juce_RTAS_Wrapper.cpp:98:
In file included from /Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/../utility/juce_IncludeModuleHeaders.h:28:
In file included from /Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/../utility/../juce_audio_plugin_client.h:28:
In file included from /Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/../utility/../../juce_audio_processors/../juce_gui_basics/juce_gui_basics.h:28:
In file included from /Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/../utility/../../juce_gui_basics/../juce_graphics/juce_graphics.h:28:
In file included from /Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/../utility/../../juce_audio_basics/../juce_core/juce_core.h:156:
/Users/sambecket/Documents/AcmeCompany/Development/Psycherizer/JuceLibraryCode/modules/juce_audio_plugin_client/RTAS/../utility/../../juce_gui_basics/../juce_graphics/../juce_core/maths/juce_MathsFunctions.h:300:5: note: candidate template ignored: could not match 'Type [N]' against 'const short [][2]'
int numElementsInArray (Type (&array)[N])
    ^
2 errors generated.

#4

Hmm.. I think that's something else. The demo plugin does build as RTAS.

It looks like you don't have the JucePlugin_PreferredChannelConfigurations defined? I know we deprecated that recently with the new bus arrangement stuff, but maybe didn't also update RTAS to handle a project that doesn't still contain the old channel config definitions. We'll have a look but in the meantime you might want to just define that macro.