Upgrade to JUCE 6.1.5 + fluidsynth 2.2.5 + make Docker cross-compile parallel & ARM-native #35
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Making a new Dockerfile for the build:
Upgrading fluidsynth to 2.2.5, to fix #22 (comment).
Upgrading from my fork of JUCE 6.1.2 to mainline JUCE 6.1.5; the MinGW-w64 build has had some attention, so @reuk recommends to try it out, to see whether the following issues are fixed:
Unfortunately, the changes mean that MinGW-w64 builds now depend on the Windows SDK, for example for headers like
UIAutomation.h
:https://github.com/juce-framework/JUCE/blob/53b04877c6ebc7ef3cb42e84cb11a48e0cf809b5/modules/juce_gui_basics/juce_gui_basics.cpp#L70
I've acquired the Windows SDK via
xwin
. So I have the headers and libraries I need.But
llvm-mingw
is failing to compile the code contained in the Windows SDK headers:https://gist.github.com/Birch-san/d54e6e64be4e954b59a5156f76472a0a
Maybe it's fundamentally unsupported for clang to include the Windows SDK headers?
Maybe we can use the best-effort headers generated by WIDL compiler instead?
https://github.com/slimsag/win32metadata/tree/master/generation/WinSDK/RecompiledIdlHeaders
I'm currently working on a minimal repro here (which seems to be failing on JUCE rather than Windows SDK):
https://github.com/Birch-san/juce-repro
The current error I'm getting in the minimal repro, is a
uuidof()
error, so looks related to juce-framework/JUCE#985.Update: Okay, looks like there was an easier way to get the Windows SDK headers. MinGW comes with some already; I just needed to deal with the case-sensitive filename.