<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Here are my instructions for compiling against VLC trunk.  David<br>
    <br>
    1) Create a 64-but Ubuntu 14.04 LTS VM and load all the system
    updates<br>
    <br>
    2) Install the needed tools for the build. There may be some extra
    stuff here but it won't hurt ya.<br>
    <br>
    sudo apt-get install \<br>
        texinfo pax g++ cvs yasm subversion git flex m4 bison \<br>
        lua5.2 \<br>
        libtool automake autoconf autopoint make gettext \<br>
        pkg-config \<br>
        qt4-dev-tools \<br>
        git \<br>
        subversion \<br>
        wine-dev \<br>
        zip p7zip nsis bzip2 \<br>
        ragel ant default-jdk cmake \<br>
        protobuf-compiler \<br>
        libogg-dev \<br>
        libgcrypt-dev<br>
        <br>
    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.<br>
    <br>
    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:<br>
    <br>
    mkdir mingw-w64<br>
    cd mingw-w64<br>
    wget
    <a class="moz-txt-link-freetext" href="http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.4">http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.4</a><br>
    chmod +x mingw-w64-build-3.6.4<br>
    <br>
    3a) Modify the file mingw-w64-build-3.6.4 where it creates the
    headers and specify --enable-secure-api<br>
    "$mingw_w64_source_dir/mingw-w64-$mingw_w64_ver/mingw-w64-headers/configure"
    --enable-secure-api --enable-sdk=all --build="$system_type"
    --host="$mingw_w64_target" --prefix="$mingw_w64_prefix" > ><br>
    <br>
    3b) Run this command to build the tool<br>
    ./mingw-w64-build-3.6.4 --build-type=win64 --default-configure
    --enable-gendef --enable-nls --disable-shared<br>
    <br>
    Note: After the wget command make sure to modify the file's
    permisisons to allow it to be executed.<br>
    <br>
    4) In your user's directory, create the file .bash_aliases and add
    the following lines<br>
    <br>
    export
PATH="/home/david/mingw-w64/mingw-w64-x86_64/bin:/home/vlc/extras/tools/build/bin:$PATH"<br>
    export PKG_CONFIG_LIBDIR=/home/david/vlc/contrib<br>
    <br>
    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.<br>
    <br>
    5) Log out and log back in to let the exports take affect.<br>
    <br>
    6) Clone the VLC code<br>
    <br>
    git clone <a class="moz-txt-link-freetext" href="git://git.videolan.org/vlc.git">git://git.videolan.org/vlc.git</a> vlc<br>
    <br>
    7) From the VLC root directory, build the needed tools<br>
    <br>
    cd extras/tools/<br>
    ./bootstrap<br>
    make<br>
    <br>
    8) From the VLC root directory, build the contribs. You may get away
    with the prebuilts but this works for me.<br>
    <br>
    mkdir -p contrib/win32<br>
    cd contrib/win32<br>
    ../bootstrap --host=x86_64-w64-mingw32 --disable-protobuf
    --disable-schroedinger --disable-upnp<br>
    make fetch<br>
    make<br>
    <br>
    9) From the VLC root directory, bootstrap and configure the build<br>
    <br>
    ./bootstrap<br>
    mkdir win32<br>
    cd win32<br>
    ../extras/package/win32/configure.sh --host=x86_64-w64-mingw32
    --enable-debug --enable-static --disable-schroedinger<br>
    <br>
    10) from the VLC/win32 directory, build VLC<br>
    <br>
    make<br>
    make package-win32-zip<br>
    <br>
    <br>
    <div class="moz-signature">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <img moz-do-not-send="false"
        src="cid:part1.09000102.06000306@openroadsconsulting.com">
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red">----------------------------------------------------------------------------</span></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red;"
          lang="EN-GB">David R Robison</span></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#002060;"
            lang="EN-GB">Principal Systems Engineer</span></b></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D;"
          lang="EN-GB">+1 757 546 3401 (o)</span></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
          style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D;
          \" lang="EN-GB">+1 757 286 0022 (m)</span></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;t"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";"
          lang="EN-GB"><a
            href="mailto:david.robison@openroadsconsulting.com">david.robison@openroadsconsulting.com</a></span></p>
      <p
        style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;><a
        href="http://www.openroadsconsulting.com/"><span
        lang=EN-GB style="
        font-size:10.0pt;font-family:"arial","sans-serif";'=""><a class="moz-txt-link-abbreviated" href="http://www.openroadsconsulting.com">www.openroadsconsulting.com</a></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red">----------------------------------------------------------------------------</span></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red;"
          lang="EN-GB">Open Roads Consulting </span></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:red;"
          lang="EN-GB">A Q-Free Company</span></p>
      <p
style="margin-top:0pt;margin-right:0pt;margin-bottom:.0001pt;margin-left:0pt;"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#002060;"
          lang="EN-GB">103 Watson Rd. Chesapeake VA 23320</span></p>
    </div>
    <div class="moz-cite-prefix">On 3/27/2015 2:06 PM, Jeff J wrote:<br>
    </div>
    <blockquote
cite="mid:CACrPs9O6PiVZ2TgZxj36fxxHWPreCs-BWT8qJBStoEu-qwvoaA@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi all, can anyone detail what their setup is for cross-compiling for
Windows 32-bit? I'm just curious what OS people are using as well as
any deviations from the instructions at
wiki.videolan.org/Win32Compile. I'm running into problems trying to
compile on Ubuntu 14.04. Thanks.
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a class="moz-txt-link-freetext" href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a>
</pre>
    </blockquote>
    <br>
  <BR />
<BR />
<HR />
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.<BR />
If you are not the intended recipient, please delete this email immediately.<BR />
</body>
</html>