<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Your no bother. Glad to help. Here is
      the script I am following to compile my system. My big problem was
      in step 4 where I had to manually set the PKG_CONFIG_LIBDIR. This
      script allows me to successfully compile VLC. I hope this helps.
      David<br>
      <br>
      <tt>1) Create a 64-but Ubuntu 14.04 LTS VM and load all the system
        updates</tt><tt><br>
      </tt><tt><br>
      </tt><tt>2) Install the needed tools for the build. There may be
        some extra stuff here but it won't hurt ya.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>sudo apt-get install \</tt><tt><br>
      </tt><tt>    texinfo pax g++ cvs yasm subversion git flex m4 bison
        \</tt><tt><br>
      </tt><tt>    lua5.2 \</tt><tt><br>
      </tt><tt>    libtool automake autoconf autopoint make gettext \</tt><tt><br>
      </tt><tt>    pkg-config \</tt><tt><br>
      </tt><tt>    qt4-dev-tools \</tt><tt><br>
      </tt><tt>    git \</tt><tt><br>
      </tt><tt>    subversion \</tt><tt><br>
      </tt><tt>    wine-dev \</tt><tt><br>
      </tt><tt>    zip p7zip nsis bzip2 \</tt><tt><br>
      </tt><tt>    ragel ant default-jdk cmake</tt><tt><br>
      </tt><tt>    </tt><tt><br>
      </tt><tt>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.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>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:</tt><tt><br>
      </tt><tt><br>
      </tt><tt>mkdir mingw-w64</tt><tt><br>
      </tt><tt>cd mingw-w64</tt><tt><br>
      </tt><tt>wget
        <a class="moz-txt-link-freetext" href="http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.0">http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.0</a></tt><tt><br>
      </tt><tt>./mingw-w64-build-3.6.0 --build-type=win64
        --default-configure --enable-gendef --enable-nls</tt><tt><br>
      </tt><tt><br>
      </tt><tt>Note: After the wget command make sure to modify the
        file's permisisons to allow it to be executed.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>4) In your user's directory, create the file
        .bash_aliases and add the following lines</tt><tt><br>
      </tt><tt><br>
      </tt><tt>export
        PATH="/home/david/mingw-w64/mingw-w64-x86_64/bin:$PATH"</tt><tt><br>
      </tt><tt>export PKG_CONFIG_LIBDIR=/home/david/vlc/contrib</tt><tt><br>
      </tt><tt><br>
      </tt><tt>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.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>5) Log out and log back in to let the exports take
        affect.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>6) Clone the VLC code</tt><tt><br>
      </tt><tt><br>
      </tt><tt>git clone <a class="moz-txt-link-freetext" href="git://git.videolan.org/vlc.git">git://git.videolan.org/vlc.git</a> vlc</tt><tt><br>
      </tt><tt><br>
      </tt><tt>7) From the VLC root directory, build the contribs. You
        may get away with the prebuilts but this works for me.</tt><tt><br>
      </tt><tt><br>
      </tt><tt>mkdir -p contrib/win32</tt><tt><br>
      </tt><tt>cd contrib/win32</tt><tt><br>
      </tt><tt>../bootstrap --host=x86_64-w64-mingw32</tt><tt><br>
      </tt><tt>make fetch</tt><tt><br>
      </tt><tt>make</tt><tt><br>
      </tt><tt><br>
      </tt><tt>8) From the VLC root directory, bootstrap and configure
        the build</tt><tt><br>
      </tt><tt><br>
      </tt><tt>./bootstrap</tt><tt><br>
      </tt><tt>mkdir win32</tt><tt><br>
      </tt><tt>cd win32</tt><tt><br>
      </tt><tt>../extras/package/win32/configure.sh
        --host=x86_64-w64-mingw32 --enable-debug --enable-static</tt><tt><br>
      </tt><tt><br>
      </tt><tt>9) from the VLC/win32 directory, build VLC</tt><tt><br>
      </tt><tt><br>
      </tt><tt>make</tt><tt><br>
      </tt><br>
      <br>
      <pre class="moz-signature" cols="72">David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:david.robison@openroadsconsulting.com">david.robison@openroadsconsulting.com</a>
web: <a class="moz-txt-link-freetext" href="http://openroadsconsulting.com">http://openroadsconsulting.com</a>
blog: <a class="moz-txt-link-freetext" href="http://therobe.blogspot.com">http://therobe.blogspot.com</a>
book: <a class="moz-txt-link-freetext" href="http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526">http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526</a>
</pre>
      On 8/1/2014 3:54 AM, Son Tran wrote:<br>
    </div>
    <blockquote
cite="mid:CAAQU5TnaPpyC7dpK5Bc2Cjz7r3gfKTTJtbgeMuEzhVjWRe0Tpw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Dear David,</div>
        <div>I have to bother you again. In fact, as you observed, I had
          no longer a problem with X11 while compiling qt module with
          the latest vlc git. But I still have the following two issues:</div>
        <div>-pkg-config seems not work well in my system, it found no
          contribs libs, I had to make manually all variables
          <MODULE>_CFLAGS and <MODULE>_LIBS in the
          configure script. The PKG_CONFIG_PATH was however well set
          with the configure script ! </div>
        <div>-The most serious problem is to compile qt. Undefining
          functions, no memeber class .... are the errors. Surely
          because I specified manually QT_LIBS. My question is that
          which pc file  I should take as example to add the missing
          library: qt.pc qt5.pc .... By the way, why does vlc have both
          qt and qt5, which one is used?</div>
        <div>Please give me some hint to overcome this problem. It is no
          sense to compile window vlc missing all GUI and third
          party modules :-)</div>
        <div>Best regards</div>
        <div>Son </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">
          2014-07-31 16:29 GMT+02:00 David R. Robison <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:david.robison@openroadsconsulting.com"
              target="_blank">david.robison@openroadsconsulting.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div>Yes. I did a "git pull", configure, and make this
                morning and it worked well. Give it a try and if you are
                still having troubles, let me know and I'll do the best
                I can to help you in the right direction. David
                <div><br>
                  <pre cols="72">David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: <a moz-do-not-send="true" href="tel:%28757%29%20546-3401" target="_blank" value="+17575463401">(757) 546-3401</a>
e-mail: <a moz-do-not-send="true" href="mailto:david.robison@openroadsconsulting.com" target="_blank">david.robison@openroadsconsulting.com</a>
web: <a moz-do-not-send="true" href="http://openroadsconsulting.com" target="_blank">http://openroadsconsulting.com</a>
blog: <a moz-do-not-send="true" href="http://therobe.blogspot.com" target="_blank">http://therobe.blogspot.com</a>
book: <a moz-do-not-send="true" href="http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526" target="_blank">http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526</a>
</pre>
                </div>
                <div>
                  <div class="h5"> On 7/31/2014 8:58 AM, Son Tran wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>Dear David,</div>
                      <div>Thank you so much for the report on cross
                        compiling. I followed it and for the first time
                        I could compile successfully VLC 3.0.0-git (with
                        a lot of disable options, among them qt and
                        ffmpeg)</div>
                      <div>Then I just check out again vlc last night,
                        and I also observed that QTX11 missing. If I
                        understand well, the problem is fixed right now?
                        I can git the latest version without this issue?</div>
                      <div>Also, in my platform ubuntus 14, I have the
                        following problem: the pkg_config seems not work
                        for me, the "configure" script couldnot find 
                        the *.pc in the
                        contrib/i686-w64-mingw32/lib/pkgconfig. I had to
                        specify directly in the enviroment
                        variables <MODULE>_CFLAGS /_LIBS. I
                        already try --with-config, PKG_CONFIG_PATH in
                        vain. Can you give me some hints on this problem</div>
                      <div>Many thanks</div>
                      <div>Son    </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">2014-07-31 14:17
                        GMT+02:00 David R. Robison <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:david.robison@openroadsconsulting.com"
                            target="_blank">david.robison@openroadsconsulting.com</a>></span>:<br>
                        <blockquote style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"
                          class="gmail_quote">Thanks, that fixed it.
                          David<br>
                          <br>
                          David R Robison<br>
                          Open Roads Consulting, Inc.<br>
                          103 Watson Road, Chesapeake, VA 23320<br>
                          phone: <a moz-do-not-send="true"
                            href="tel:%28757%29%20546-3401"
                            target="_blank" value="+17575463401">(757)
                            546-3401</a><br>
                          e-mail: <a moz-do-not-send="true"
                            href="mailto:david.robison@openroadsconsulting.com"
                            target="_blank">david.robison@openroadsconsulting.com</a><br>
                          web: <a moz-do-not-send="true"
                            href="http://openroadsconsulting.com"
                            target="_blank">http://openroadsconsulting.com</a><br>
                          blog: <a moz-do-not-send="true"
                            href="http://therobe.blogspot.com"
                            target="_blank">http://therobe.blogspot.com</a><br>
                          book: <a moz-do-not-send="true"
href="http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526"
                            target="_blank">http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526</a><br>
                          <br>
                          On 7/31/2014 5:20 AM, Rafaël Carré wrote:<br>
                          > Hi,<br>
                          ><br>
                          > On 07/30/14 19:48, David R. Robison
                          wrote:<br>
                          >> I just did a "git pull" on vlc and
                          now VLC will not cross compile for<br>
                          >> Win64. I am getting the following
                          error:<br>
                          >><br>
                          >> checking for QTX11... no<br>
                          >> configure: error: Package
                          requirements (Qt5X11Extras) were not met:<br>
                          > Should be fixed now, thanks for the
                          report<br>
                          >
                          _______________________________________________<br>
                          > vlc-devel mailing list<br>
                          > To unsubscribe or modify your
                          subscription options:<br>
                          > <a moz-do-not-send="true"
                            href="https://mailman.videolan.org/listinfo/vlc-devel"
                            target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
                          <br>
                          <br>
                          <br>
                          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>
                          <br>
_______________________________________________<br>
                          vlc-devel mailing list<br>
                          To unsubscribe or modify your subscription
                          options:<br>
                          <a moz-do-not-send="true"
                            href="https://mailman.videolan.org/listinfo/vlc-devel"
                            target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
<a moz-do-not-send="true" href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a>
</pre>
                  </blockquote>
                  <br>
                  <br>
                  <br>
                </div>
              </div>
              <hr>
              <div>
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>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            vlc-devel mailing list<br>
            To unsubscribe or modify your subscription options:<br>
            <a moz-do-not-send="true"
              href="https://mailman.videolan.org/listinfo/vlc-devel"
              target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>