Browse Source

Fix vst2 build with new juce

Signed-off-by: falkTX <falktx@falktx.com>
tags/2020-12-27
falkTX 3 years ago
parent
commit
830a5e0b94
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 9 additions and 2 deletions
  1. +3
    -0
      libs/juce-current/source/modules/juce_audio_processors/format_types/juce_VSTInterface.h
  2. +6
    -0
      libs/juce-plugin/JucePluginMain.cpp
  3. +0
    -1
      libs/juce-plugin/juce-legacy/AppConfig.h
  4. +0
    -1
      ports-legacy/meson.build

+ 3
- 0
libs/juce-current/source/modules/juce_audio_processors/format_types/juce_VSTInterface.h View File

@@ -24,6 +24,7 @@
==============================================================================
*/
#ifndef JUCE_VSTINTERFACE_H_INCLUDED
#define JUCE_VSTINTERFACE_H_INCLUDED
using namespace juce;
@@ -527,3 +528,5 @@ struct vst2FxBank
#else
#pragma pack(pop)
#endif
#endif // JUCE_VSTINTERFACE_H_INCLUDED

+ 6
- 0
libs/juce-plugin/JucePluginMain.cpp View File

@@ -24,7 +24,13 @@
#elif JucePlugin_Build_VST
// we need to include 'juce_VSTMidiEventList' before 'juce_VST_Wrapper'
#include "modules/juce_audio_plugin_client/utility/juce_IncludeSystemHeaders.h"
#if JUCE_MAJOR_VERSION >= 6
namespace Vst2 {
#endif
#include "modules/juce_audio_processors/format_types/juce_VSTInterface.h"
#if JUCE_MAJOR_VERSION >= 6
}
#endif
#include "modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h"
#ifdef JUCE_MAC
#include "modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.mm"


+ 0
- 1
libs/juce-plugin/juce-legacy/AppConfig.h View File

@@ -1 +0,0 @@
../../juce-legacy/build-juce-legacy/AppConfig.h

+ 0
- 1
ports-legacy/meson.build View File

@@ -67,7 +67,6 @@ plugin_include_dirs = [
include_directories('../libs/juce-legacy/source'),
include_directories('../libs/juce-legacy/source/modules'),
include_directories('../libs/juce-plugin'),
include_directories('../libs/juce-plugin/juce-legacy'),
]

###############################################################################


Loading…
Cancel
Save