<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Diegofn</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Diegofn"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Diegofn/"/>
	<updated>2026-11-04T17:30:35Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=WinRTCompile&amp;diff=28834</id>
		<title>WinRTCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=WinRTCompile&amp;diff=28834"/>
		<updated>2015-02-15T17:54:38Z</updated>

		<summary type="html">&lt;p&gt;Diegofn: /* Packaged 7zip file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will help you compile &#039;&#039;&#039;VLC for WinRT&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Development Environment==&lt;br /&gt;
&lt;br /&gt;
To develop VLC for WinRT, you would need to have:&lt;br /&gt;
* Windows 8.1&lt;br /&gt;
* Visual Studio 2013 with Update 2 (or Update 3)&lt;br /&gt;
* Windows 8.1 SDK (Recommended)&lt;br /&gt;
* Latest version of Git&lt;br /&gt;
* Lots of patience :D&lt;br /&gt;
&lt;br /&gt;
==Get the source==&lt;br /&gt;
 &lt;br /&gt;
You can clone the VLC for WinRT git repository&lt;br /&gt;
&lt;br /&gt;
 git clone git://git.videolan.org/vlc-ports/winrt.git&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Get libVLC source==&lt;br /&gt;
&lt;br /&gt;
====Packaged 7zip file====&lt;br /&gt;
You can download vlc.7z from [http://people.videolan.org/~hugo/vlc-Win32.7z here]. Extract the contents of vlc.7z and copy the contents to vlc folder of winrt source code&lt;br /&gt;
&lt;br /&gt;
====Cross Compiling====&lt;br /&gt;
If you feel adventurous, you can try cross-compiling libVLC for WinRT. Refer to the [http://git.videolan.org/?p=vlc-ports/winrt.git;a=blob_plain;f=README;hb=HEAD README] file in the source folder for more information&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Build and Deploy==&lt;br /&gt;
* Open the VLC_WinRT solution in app/VLC_WINRT.sln&lt;br /&gt;
* Open Package.appxmanifest, and generate a test certificate. More information can be found in the [http://git.videolan.org/?p=vlc-ports/winrt.git;a=blob_plain;f=README;hb=HEAD README] file in the source folder&lt;br /&gt;
* Click on Build Solution and then Deploy&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Additional Notes==&lt;br /&gt;
* If building fails with lots of errors referring to Windows SDK headers, installing Windows 8.1 SDK usually helps&lt;br /&gt;
* It helps to right click the specific project (eg: Windows 8.1 project ) and then click deploy rather than trying to deploy the whole solution&lt;/div&gt;</summary>
		<author><name>Diegofn</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=MacOSCompile&amp;diff=20179</id>
		<title>MacOSCompile</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=MacOSCompile&amp;diff=20179"/>
		<updated>2011-11-27T16:56:04Z</updated>

		<summary type="html">&lt;p&gt;Diegofn: /* PATH */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Pre-requisites ==&lt;br /&gt;
=== Apple ===&lt;br /&gt;
* You need at least MacOSX 10.5.&amp;lt;br /&amp;gt;&#039;&#039;&#039;10.6&#039;&#039;&#039; is recommended, though.&lt;br /&gt;
* &#039;&#039;&#039;Developer Tools from Apple&#039;&#039;&#039; from http://developer.apple.com/technology/xcode.html&amp;lt;br /&amp;gt;Xcode 3 and Xcode4 should be fine.&lt;br /&gt;
&lt;br /&gt;
Check that the LLVM GCC 4.2 compiler is installed:&lt;br /&gt;
 $ gcc --version&lt;br /&gt;
&lt;br /&gt;
=== Git ===&lt;br /&gt;
You need to get [http://git-scm.com/ Git] to clone VLC.&lt;br /&gt;
&lt;br /&gt;
You can use [http://mxcl.github.com/homebrew/ homebrew] as:&lt;br /&gt;
 $ brew install git&lt;br /&gt;
&lt;br /&gt;
=== PATH ===&lt;br /&gt;
&#039;&#039;&#039;Pay careful attention to remove any reference to 3rd party package managersfrom your environment.&#039;&#039;&#039;&lt;br /&gt;
This is important to avoid conflicts between your package manager (homebrew, fink, macports...) and the contrib package manager we use to build our contrib.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;git must still be accessible though!&#039;&#039;&#039;&lt;br /&gt;
  $ unset PKG_CONFIG_PATH&lt;br /&gt;
  $ unset PKG_CONFIG_LIBDIR&lt;br /&gt;
  $ export PATH=$PWD/build/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin&lt;br /&gt;
&lt;br /&gt;
== [[GetTheSource|Get the source code]] ==&lt;br /&gt;
&lt;br /&gt;
  $ git clone git://git.videolan.org/vlc.git&lt;br /&gt;
&lt;br /&gt;
== Additional development tools ==&lt;br /&gt;
&lt;br /&gt;
You need all the autoconf tools to build it correctly.&lt;br /&gt;
&lt;br /&gt;
This is automated for you:&lt;br /&gt;
&lt;br /&gt;
  $ cd vlc/extras/tools&lt;br /&gt;
  $ ./bootstrap&lt;br /&gt;
  $ make&lt;br /&gt;
&lt;br /&gt;
== SDK selection and 32/64 bits ==&lt;br /&gt;
&lt;br /&gt;
=== SDK selection===&lt;br /&gt;
If you want to use the 10.6 SDK (your VLC will only run on 10.6 and more recent computers): &lt;br /&gt;
 $ export OSX_VERSION=10.6&lt;br /&gt;
&lt;br /&gt;
You can do the same for &#039;&#039;&#039;10.5&#039;&#039;&#039;, but please check that you have it installed in /Developers/ .&lt;br /&gt;
&lt;br /&gt;
=== 32/64bits selection ===&lt;br /&gt;
The instructions below will build a 64 bits binary using 10.6 (Leopard) SDK.&lt;br /&gt;
This is reflected by using host and build variables &#039;&#039;&#039;x86_64-apple-darwin10&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
This &amp;quot;triplet&amp;quot; is ARCHITECTURE-apple-SYSTEM.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;x86_64&amp;lt;/code&amp;gt; represents Intel 64bits.&lt;br /&gt;
* &amp;lt;code&amp;gt;i686&amp;lt;/code&amp;gt; represents Intel 32bits.&lt;br /&gt;
* &amp;lt;code&amp;gt;powerpc&amp;lt;/code&amp;gt; represents PowerPC 32bits.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;darwin9&amp;lt;/code&amp;gt; represents MacOSX 10.5.&lt;br /&gt;
* &amp;lt;code&amp;gt;darwin10&amp;lt;/code&amp;gt; represents MacOSX 10.6 and more recent.&lt;br /&gt;
&lt;br /&gt;
* So to make a PowerPC build, you would use &#039;&#039;&#039;powerpc-apple-darwin9&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Prepare[[Contrib_Status| 3rd party libraries]] ==&lt;br /&gt;
&lt;br /&gt;
Before compiling VLC, you need lots of other libraries. Here is how to get them:&lt;br /&gt;
&lt;br /&gt;
  $ cd ../../contrib&lt;br /&gt;
  $ mkdir -p osx &amp;amp;&amp;amp; cd osx&lt;br /&gt;
  $ ../bootstrap --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10&lt;br /&gt;
If you want to download a prebuilt package of all the needed libraries.&lt;br /&gt;
  $ make prebuilt&lt;br /&gt;
If prebuilt package for your host does not exist, or if you want to build from source&lt;br /&gt;
  $ make -j4 .gettext &amp;amp;&amp;amp; make -j4&lt;br /&gt;
If you had no errors, the 3rd party libraries (contrib) are built correctly and you can proceed to the next step.&lt;br /&gt;
&lt;br /&gt;
== Bootstrap ==&lt;br /&gt;
This will create the configure script.&lt;br /&gt;
&lt;br /&gt;
  $ cd ../..&lt;br /&gt;
  $ ./bootstrap&lt;br /&gt;
&lt;br /&gt;
== Configure the build ==&lt;br /&gt;
Create a build folder:&lt;br /&gt;
  $ mkdir -p build &amp;amp;&amp;amp; cd build&lt;br /&gt;
To list the different options of configure:&lt;br /&gt;
  $ ../extras/package/macosx/configure.sh --help&lt;br /&gt;
To build a 64 bits binary:&lt;br /&gt;
  $ ../extras/package/macosx/configure.sh --enable-debug --host=x86_64-apple-darwin10 --build=x86_64-apple-darwin10&lt;br /&gt;
&lt;br /&gt;
== Build  ==&lt;br /&gt;
&lt;br /&gt;
  $ make -j4&lt;br /&gt;
&lt;br /&gt;
== Package ==&lt;br /&gt;
If you want to share the application with another user or another computer:&lt;br /&gt;
  $ make VLC-release.app&lt;br /&gt;
&lt;br /&gt;
If you want a disk-image:&lt;br /&gt;
  $ make package-macosx&lt;br /&gt;
Respectively &amp;lt;code&amp;gt;make package-macosx-plugin&amp;lt;/code&amp;gt; for the Safari/Mozilla plugin.&lt;br /&gt;
&lt;br /&gt;
== What&#039;s wrong, if I don&#039;t succeed? ==&lt;br /&gt;
Starting with Leopard, Xcode may be installed to a custom location on the administrator&#039;s choice. While this is non-problematic for ordinary Xcode projects, VLC needs a little help. You have to place extra symbolic links in /Developer pointing to your custom location for these folders:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;usr, Headers, Private, SDKs, Tools, Makefiles&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can easily create these links by executing the following command for each folder (whereas theFolder is one of these six):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;ln -s /full/path/to/Developer/theFolder /Developer/theFolder&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Additionally, make always sure that you are using the latest version of Xcode.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Coding]]&lt;/div&gt;</summary>
		<author><name>Diegofn</name></author>
	</entry>
</feed>