Thanks Scott for your replies.<div><br></div><div>I find only win32 sln and proj files.</div><div>How do I get x64 configuration files ?</div><div><br></div><div>I tried adding a new configuration (in MSVC) and building it.</div>
<div>But, I get a lot of errors.</div><div><br></div><div>Regards,</div><div>Santosh</div><div><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 9:58 PM, Scott Taylor <span dir="ltr"><<a href="mailto:scott.taylor@abaslabs.com">scott.taylor@abaslabs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hi Santosh,<br>
    <br>
    Direct264 does include the projects you need. We are doing exactly
    what you are trying to do (statically linking against libx264.lib).
    Look for these files in Direct264:<br>
    libx264.vcproj<br>
    libx264_vs2008.vcproj<br>
    libx264_vs2010.vcxproj<br>
    <br>
    They should already be part of the sln. However I believe libx264 is
    not the startup project, so you might need to manually r-click and
    build that project to get the lib.<br><font color="#888888">
    <br>
    Scott</font><div><div></div><div class="h5"><br>
    <br>
    <br>
    <br>
    On 23/11/2010 12:26 PM, Santosh wrote:
    <blockquote type="cite">Hi Scott,
      <div><br>
      </div>
      <div>Thank you very much for the reply.</div>
      <div><br>
      </div>
      <div>I need the library to link to my application.</div>
      <div>So, x264.exe alone won't suffice.</div>
      <div><br>
      </div>
      <div>The link that you posted has exe's and dlls.</div>
      <div>Is there any place I can get .libs or .sln, so that I can
        build the library ?</div>
      <div><br>
      </div>
      <div>I am trying to build 64-bit libx264.lib.</div>
      <div><br>
      </div>
      <div>Regards,</div>
      <div>Santosh<br>
        <br>
        <div class="gmail_quote">
          On Mon, Nov 22, 2010 at 6:08 PM, Scott Taylor <span dir="ltr"><<a href="mailto:scott.taylor@abaslabs.com" target="_blank">scott.taylor@abaslabs.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">
            <div 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/" target="_blank">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>
              <font color="#888888"> <br>
                Scott</font>
              <div>
                <div><br>
                  <br>
                  <br>
                  <br>
                  On 23/11/2010 11:35 AM, Santosh wrote:
                  <blockquote 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 href="mailto:kemuri9@gmail.com" target="_blank">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><br>
                              On Mon, Nov 22, 2010 at 6:56 PM, Santosh
                              <<a href="mailto:santoshkumarcs1986@gmail.com" target="_blank">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 href="mailto:x264-devel@videolan.org" target="_blank">x264-devel@videolan.org</a><br>
                          > <a 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 href="mailto:x264-devel@videolan.org" target="_blank">x264-devel@videolan.org</a><br>
                          <a 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><fieldset></fieldset>
_______________________________________________
x264-devel mailing list
<a href="mailto:x264-devel@videolan.org" target="_blank">x264-devel@videolan.org</a>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/listinfo/x264-deve</a></pre></blockquote></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote>
</div>
</div>