(based on git tip)
The Introjucer generated plugin for Visual Studio 2010 fails to build with RTAS.
JucePlugin_WinBag_path is being defined to “STUFF” instead of “STUFF” and so juce_RTAS_Wrapper.cpp fails to parse at
#pragma comment(lib, PT_LIB_PATH "DAE.lib")
exporter.msvcExtraPreprocessorDefs.set ("JucePlugin_WinBag_path", CodeHelpers::addEscapeChars (rtasFolder.getChildFile ("WinBag") .toWindowsStyle().quoted()));
The .quoted() needs to move to after the escaping.
Additionally, I use relative paths for SDKs, and I needed to add an additional “…/…/” at
RelativePath rtasFolder (getRTASFolder (exporter).toString(), RelativePath::projectFolder);
to make it work.