1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

MinGW: Improve compatibility

With this patch applied, the DemoRunner should build under MinGW, and be
(nearly) feature-complete compared to the MSVC build.

Specifically, when building with MinGW:
- Adds support for accessibility
- Fixes build issues in the juce_video module
- Fixes a link issue in the VST3 wrapper when VST3_CAN_REPLACE_VST2 is
  defined
- Adds support for the new-style native FileChooser
- Tidies up some other low-severity warnings

Known issues:
- Direct2D rendering is still not supported when building with MinGW due
  to ABI compatibilities.
This commit is contained in:
reuk 2022-01-10 15:30:01 +00:00
parent b65803e8a3
commit 640194c878
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
37 changed files with 1283 additions and 478 deletions

View file

@ -44,14 +44,11 @@
#import <AVKit/AVKit.h>
//==============================================================================
#elif JUCE_WINDOWS && ! JUCE_MINGW
/* If you're using the camera classes, you'll need access to a few DirectShow headers.
These files are provided in the normal Windows SDK. */
#include <dshow.h>
#include <dshowasf.h>
#include <evr.h>
#elif JUCE_WINDOWS
#include "wmsdkidl.h"
#include "native/juce_win32_ComTypes.h"
#if ! JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
#if ! JUCE_MINGW && ! JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
#pragma comment (lib, "strmiids.lib")
#if JUCE_USE_CAMERA