<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    We found the same problem. I tried different build environments /
    compilers and using MS' LIB tool, no success. Always got unresolved
    symbols.<br>
    <br>
    Fortunately we found an existing MSVC sln in Direct264:<br>
    <a href="http://sourceforge.net/projects/direct264/">http://sourceforge.net/projects/direct264/</a><br>
    <br>
    We also found that we needed to extern "C" the include:<br>
    extern "C"<br>
    {<br>
      #include "x264.h"<br>
    }<br>
    <br>
    Scott<br>
    <br>
    <br>
    <br>
    On 23/11/2010 11:35 AM, Santosh wrote:
    <blockquote
      cite="mid:AANLkTin6L2--rusv8304z4JGJPT+=gbAnzvkoFMEtXYi@mail.gmail.com"
      type="cite">Thank you for the reply Steven.
      <div><br>
      </div>
      <div>Is MSVC supported in x264 - i.e. are there .sln files which I
        can use ? or I need to create a MSVC solution from scratch ?</div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div>Santosh<br>
        <br>
        <div class="gmail_quote">On Mon, Nov 22, 2010 at 4:15 PM, Steven
          Walters <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:kemuri9@gmail.com">kemuri9@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            64bit MinGW and 64bit MSVC were still incompatible with each
            other<br>
            last time i checked.<br>
            <br>
            if this is still the case, you'll need to compile x264 with
            visual<br>
            studio if you want to use the static library in another
            visual studio<br>
            project<br>
            (which i'm inferring with your use of a .lib filename vs .a)<br>
            <div>
              <div class="h5"><br>
                On Mon, Nov 22, 2010 at 6:56 PM, Santosh <<a
                  moz-do-not-send="true"
                  href="mailto:santoshkumarcs1986@gmail.com">santoshkumarcs1986@gmail.com</a>>
                wrote:<br>
                > Dear experts,<br>
                > I am having trouble linking libx264.lib to my
                application on x64 machine.<br>
                > I am able to build it. But, when I try linking it,
                I get the following<br>
                > errors:<br>
                > .<br>
                > .<br>
                > libx264.lib(encoder.o) : error LNK2019: unresolved
                external symbol log2f<br>
                > referenced in function x264_validate_parameters<br>
                > libx264.lib(set.o) : error LNK2001: unresolved
                external symbol log2f<br>
                > libx264.lib(analyse.o) : error LNK2001: unresolved
                external symbol log2f<br>
                > libx264.lib(ratecontrol.o) : error LNK2001:
                unresolved external symbol log2f<br>
                > libx264.lib(encoder.o) : error LNK2019: unresolved
                external symbol fseeko64<br>
                > referenced in function x264_encoder_frame_end<br>
                > libx264.lib(common.o) : error LNK2001: unresolved
                external symbol fseeko64<br>
                > .<br>
                > .<br>
                > .<br>
                ><br>
                > I am building on a 64-bit Windows 7 machine and use
                the following<br>
                > configuration:<br>
                > ./configure --host=x86_64-w64-mingw32<br>
                > Is x264 supported on 64-bit machines ?<br>
                > Also, is there is any website where I can get
                static library (libx264.lib) ?<br>
                > Regards,<br>
                > Santosh<br>
                ><br>
              </div>
            </div>
            > _______________________________________________<br>
            > x264-devel mailing list<br>
            > <a moz-do-not-send="true"
              href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
            > <a moz-do-not-send="true"
              href="http://mailman.videolan.org/listinfo/x264-devel"
              target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br>
            ><br>
            ><br>
            _______________________________________________<br>
            x264-devel mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
            <a moz-do-not-send="true"
              href="http://mailman.videolan.org/listinfo/x264-devel"
              target="_blank">http://mailman.videolan.org/listinfo/x264-devel</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Jai Hind<br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
x264-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.videolan.org/listinfo/x264-devel">http://mailman.videolan.org/listinfo/x264-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>