summaryrefslogtreecommitdiffstats
path: root/DOCS/compile-windows.md
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-14 16:05:54 +0100
committerwm4 <wm4@nowhere>2019-12-14 16:05:54 +0100
commit2dbe33ce838852fb5e16449b21cf438e7e1f2027 (patch)
treed5640721c0db89a2b5ef4f53eec00eb6a5a9bc04 /DOCS/compile-windows.md
parentaab0116e7dbfce6fd93f5e6a143aca97c8ef60e6 (diff)
downloadmpv-2dbe33ce838852fb5e16449b21cf438e7e1f2027.tar.bz2
mpv-2dbe33ce838852fb5e16449b21cf438e7e1f2027.tar.xz
DOCS: mention that mpv doesn't build with MSVC
And troll Microsoft slightly while we're at it. But is it trolling if it's the truth? The level of C99 support in MSVC is probably a bit better than most people think, but it's by far not adequate. We need a bit of either C11 or GNU extensions too, and rely on some MinGW helpers (that look like they're provided by MS, except they're not).
Diffstat (limited to 'DOCS/compile-windows.md')
-rw-r--r--DOCS/compile-windows.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/DOCS/compile-windows.md b/DOCS/compile-windows.md
index fcf1be7e70..174a882316 100644
--- a/DOCS/compile-windows.md
+++ b/DOCS/compile-windows.md
@@ -168,8 +168,12 @@ Or, compile and install both libmpv and mpv:
Linking libmpv with MSVC programs
---------------------------------
-You can build C++ programs in Visual Studio and link them with libmpv. To do
-this, you need a Visual Studio which supports ``stdint.h`` (recent ones do),
+mpv/libmpv cannot be built with Visual Studio (Microsoft is too incompetent to
+support C99/C11 properly and/or hates open source and Linux too much to
+seriously do it). But you can build C++ programs in Visual Studio and link them
+with a libmpv built with MinGW.
+
+To do this, you need a Visual Studio which supports ``stdint.h`` (recent ones do),
and you need to create a import library for the mpv DLL:
```bash