Added instructions describing how to build LibVLC in a docker container
3 unresolved threads
3 unresolved threads
Current instructions for building LibVLC were not clear and mentioned docker container failed to build.
Updated instructions using UWP docker image from CI that should work all the time.
Merge request reports
Activity
Filter activity
mentioned in issue LibVLCSharp#369
50 50 If you want to build libvlc yourself (instead of grabing a nightly build), aside from a lot of time and patience, you need to install and setup `mingw-w64`. 51 51 Then run `./compile.sh` with your target platform and configuration. 52 52 53 Use the docker image [here](https://code.videolan.org/videolan/docker-images/blob/master/vlc-winrt-x86_64/Dockerfile) 53 Or you can build LibVLC in a docker container that has environment pre-configured: 54 55 - Find the current docker image name that is used on CI for UWP - look for VLC_UWP_LLVM_IMAGE variable in 56 [gitlab-ci.yml](https://code.videolan.org/videolan/vlc-3.0/-/blob/master/extras/ci/gitlab-ci.yml) file. 57 58 - Start docker container using that image and one of the folders to host machine. From git shell you can do this as: 59 ```cmd 60 winpty docker run -it --rm --net=host -v /${PWD}:/vlc registry.videolan.org/vlc-debian-llvm-uwp:20200706065223 50 50 If you want to build libvlc yourself (instead of grabing a nightly build), aside from a lot of time and patience, you need to install and setup `mingw-w64`. 51 51 Then run `./compile.sh` with your target platform and configuration. 52 52 53 Use the docker image [here](https://code.videolan.org/videolan/docker-images/blob/master/vlc-winrt-x86_64/Dockerfile) 53 Or you can build LibVLC in a docker container that has environment pre-configured: 54 55 - Find the current docker image name that is used on CI for UWP - look for VLC_UWP_LLVM_IMAGE variable in 56 [gitlab-ci.yml](https://code.videolan.org/videolan/vlc-3.0/-/blob/master/extras/ci/gitlab-ci.yml) file. 57 58 - Start docker container using that image and one of the folders to host machine. From git shell you can do this as: 59 ```cmd 60 winpty docker run -it --rm --net=host -v /${PWD}:/vlc registry.videolan.org/vlc-debian-llvm-uwp:20200706065223 61 ``` 62 - In your docker container clone repo as described above. If you clone on host Windows machine, 50 50 If you want to build libvlc yourself (instead of grabing a nightly build), aside from a lot of time and patience, you need to install and setup `mingw-w64`. 51 51 Then run `./compile.sh` with your target platform and configuration. 52 52 53 Use the docker image [here](https://code.videolan.org/videolan/docker-images/blob/master/vlc-winrt-x86_64/Dockerfile) 53 Or you can build LibVLC in a docker container that has environment pre-configured: 54 55 - Find the current docker image name that is used on CI for UWP - look for VLC_UWP_LLVM_IMAGE variable in 56 [gitlab-ci.yml](https://code.videolan.org/videolan/vlc-3.0/-/blob/master/extras/ci/gitlab-ci.yml) file. 57 58 - Start docker container using that image and one of the folders to host machine. From git shell you can do this as: 59 ```cmd 60 winpty docker run -it --rm --net=host -v /${PWD}:/vlc registry.videolan.org/vlc-debian-llvm-uwp:20200706065223 61 ``` 62 - In your docker container clone repo as described above. If you clone on host Windows machine, 63 you'll likely have CRLF line endings messed up. 64 - cd to ```vlc-winrt/libvlc``` and run ``` ./compile.sh x86_64 win10``` or using different architecture. changed this line in version 2 of the diff