[vlc-devel] Problems cross compiling to windows according to Win32Compile - SUCCESS!
David R. Robison
david.robison at openroadsconsulting.com
Tue Jul 29 23:35:14 CEST 2014
First I want to thank everyone who helped me with suggestions, ideas,
hints, prayers, and even unfounded hope. I finally got a development
environment setup where I can compile VLC for Windows 64Bit. Here is my
script. By the way, the secret ingredient is in step #4.
1) Create a 64-but Ubuntu 14.04 LTS VM and load all the system updates
2) Install the needed tools for the build. There may be some extra stuff
here but it won't hurt ya.
sudo apt-get install \
texinfo pax g++ cvs yasm subversion git flex m4 bison \
libtool automake autoconf autopoint make gettext \
zip p7zip nsis bzip2 \
ragel ant default-jdk cmake
Note: during the wine install a popup will be displayed. You will need
to tab to the answer and use the space bar to select it as part of
accepting the license agreement.
3) We use the ffmpeg mingw-w64 package. Create a directory for the
mingw-w64 Tool, copy the install script into that directory, and build
./mingw-w64-build-3.6.0 --build-type=win64 --default-configure
Note: After the wget command make sure to modify the file's permisisons
to allow it to be executed.
4) In your user's directory, create the file .bash_aliases and add the
where /home/david/vlc is where you will checkout VLC to. This last line
is what I was missing and what I believe was causing all my trouble.
5) Log out and log back in to let the exports take affect.
6) Clone the VLC code
git clone git://git.videolan.org/vlc.git vlc
7) From the VLC root directory, build the contribs. You may get away
with the prebuilts but this works for me.
mkdir -p contrib/win32
8) From the VLC root directory, bootstrap and configure the build
9) from the VLC/win32 directory, build VLC
David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: david.robison at openroadsconsulting.com
This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.
More information about the vlc-devel