Quellcode durchsuchen

vlc/faq: improve windows compilation help

Alexandre Janniaux vor 6 Jahren
Ursprung
Commit
1d5d17a2fc
1 geänderte Dateien mit 13 neuen und 4 gelöschten Zeilen
  1. 13 4
      vlc_faq.md

+ 13 - 4
vlc_faq.md

@@ -91,13 +91,22 @@ https://forum.videolan.org/viewtopic.php?p=478546#p478546
 
 # Windows compilation
 
-Hi,
+If you don't want to bother with installing tools in your system, you can use
+the docker image right from the CI:
+https://code.videolan.org/videolan/docker-images
 
-If you don't want to bother with installing tools in your system, you can use the docker image right from the CI: https://code.videolan.org/videolan/dock ... ree/master
+```
+# configuration, only each time you update the image
+docker pull registry.videolan.org:5000/vlc-debian-win64
+docker images
+docker image -t vlc-debian-win64 theshaofthevlcimage
 
-The vlc-debian-win64 has every tools you might want so as to compile for windows. A guide using this method should definitively be written anyway as it is by far the easiest one. It should fix your issue too. You just have to run the ./extra/package/win32/build.sh file or follow what Travis does.
+# build time, inside the vlc directory
+docker run -it -v"$(pwd):/vlc" vlc-debian-win64 /bin/bash
 
-I believe the release version is bigger because there might be debugging symbols included so as to work with the crash reporting tool, but it's a shot in the dark.
+# inside the container
+cd /vlc && ./extra/package/win32/build.sh
+```
 
 # auto-hide control