aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-26 15:47:38 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-26 15:47:38 +0800
commit62393aa7b9069274459d00024fc2b238b0044eb6 (patch)
tree00ed1ee70e3103e6fcb3375734bc93097691d54d /INSTALL.md
parent9c2eb04f6baadf33f60bf4af35caec77aebf48ff (diff)
downloadQMidiPlayer-62393aa7b9069274459d00024fc2b238b0044eb6.tar.xz
We're now in bug squashing mode!
You can now specify control initial values for each individual channels. Added build instructions for the folks out there rocking a more superior operating system.
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 028c06d..46609ec 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -27,3 +27,24 @@ Currently I use [mxe](https://mxe.cc) for Windows builds.
If you are using msvc, I would recommend trying out [this fork](https://github.com/chirs241097/fluidsynth-sans-glib/)
of fluidsynth to reduce your potential pain when building QMidiPlayer.
+## Building QMidiPlayer with mxe in Windows Subsystem for Linux
+
+First get mxe working using their [instructions](https://mxe.cc/#tutorial), then:
+```
+make cmake qt5 glfw3 glew devil zlib freetype fluidsynth
+```
+
+Proceed with normal instructions for Linux with tools replaced by those
+provided by mxe. You have to build and install RtMidi yourself.
+
+At the moment there are some issues with mxe that may cause a
+build failure:
+ - A cmake file installed by glfw3 refers to a wrong file. Open
+ mxe/usr/x86_64-w64-mingw32.shared/lib/cmake/glfw3/glfw3Targets-release.cmake
+ ane add the missing dots for a temporary workaround. Also glfw3.dll
+ should be in bin, not in lib.
+ - It seems that GLEW can't tell Windows shared libraries from static
+ libraries. Check the function __glew_set_find_library_suffix in
+ FindGLEW.cmake and make sure the section for WIN32 makes sense.
+
+This list may change whenever mxe updates. You are on your own to figure them out.