Commit fb588f3c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Update the HOWTO

parent e4091cdb
How to compile VLC for WinRT:
Compiled and tested by Edward Wang
You need:
* Visual Studio 2012
* Windows 8
1) Cross-compile libvlc for WinRT
If you are only on Windows, skip the step 0)
0) Cross-compile libvlc for WinRT
You need:
* A very, very, very recent Linux
* build-essentials and all related build tools (make, autotools, git, etc...)
* Visual Studio 2012
* MvvmLight framework.
* Download and install the latest release from
* Add "C:\Program Files (x86)\Laurent Bugnion (GalaSoft)\Mvvm Light Toolkit\Binaries\Win8\" to the project's "Reference Paths"
* Windows 8
* Prodigious patience and tenacity :)
Build and install mingw-w64 SVN rev 5568 or higher (for libwinstorecompat).
......@@ -22,12 +22,35 @@ libgcc.a will ensure that all unused methods get stripped. It will drastically
reduce the number of forbidden calls.
Run ./ and generate vlc.7z
Extract the contents to vlc/
1) Extract libVLC
If you skipped step 0), take the nightly build vlc.7z
Extract the libVLC contents from vlc.7z to vlc/
You need to add a libvlccore.lib if it is missing from the package.
You can regenerate it using
2) Build and package the front-end
Open Package.appxmanifest, and generate a self-signed cert
Open the VLC_WinRT solution in app/VLC_WINRT.sln
3) Install MvvMLight through NuGet
- Tools -> Library Package Manager -> Package Manager Console
In the console, click "Restore"
Compile VLC_WRAPPER and then VLC_WINRT in Visual Studio.
4a) Get your developer signature from your account
If you don't have a dev account, see the next paragraph
4b) Local signature
Package.appxmanifest, and generate a self-signed cert
Project → Store → Create App Packages...
Select target "Debug (Win32)"
......@@ -48,24 +71,16 @@ Select your "VLC_WINRT_1.0.0.0_x86_Debug.cer"
3) Deploy the package
Start → Programs → Microsoft Visual Studio 2012 → Visual Studio Tools → Debuggable Package Manager
Install VCRT dependency:
Add-AppxPackage Dependencies/x86/*
( or Add-AppxPackage Dependencies/x86/Microsoft.VCLibs.x86.Debug.11.00.appx if you feel like it )
Deploy VLC appx:
Add-AppxPackage VLC_WINRT_1.0.0.0_x86_Debug.appx
Enable debug mode for the app:
(note: use Get-AppxPackage to look up the full name of the app)
Enable-AppxDebug 9519ba58-7ad6-4c4e-97ed-bfc2135a0d19_1.0.0.0_x86__2c7ztm58ext6g
# Debugging has been enabled for 9519ba58-7ad6-4c4e-97ed-bfc2135a0d19_1.0.0.0_x86__2c7ztm58ext6g.
5) Build
Click on Build Solution.
Congratulations, you have installed VLC for WinRT.
Click on Deploy Solution
4) Helpful snippets and tools
Profit. \o/
6) Extra: Helpful snippets and tools
Use DebugView to view the debug logs
And Procmon ( ) helps to see and debug events (like loading DLLs/modules/etc)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment