Hi Steven,<div><br></div><div>Thank you for your mail.</div><div><br></div><div>Is there is older patch that is relatively stable ?</div><div><br></div><div>Regards,</div><div>Santosh<br><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 6:50 PM, Steven Walters <span dir="ltr"><<a href="mailto:kemuri9@gmail.com">kemuri9@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">No, x264 in it's current state does not support visual studio's<br>
compiler as it does not support the C99 convention that x264 utilizes.<br>
Direct264 is the next closest thing for the time being, as it removes<br>
the C99 requirements of x264 so it can be compiled with MSVC.<br>
<br>
I do however have a patch that adds support for Intel's compiler<br>
(which does support C99), which then allows building of fully MSVC<br>
compatible libraries.<br>
<br>
This is has been in the works for a while but I lately halted it due<br>
to an issue with pthread-win32 crashing in the 64bit version of x264.<br>
This is on the back burner until i get another patch to alleviate the<br>
pthread-win32 issue finalized and committed.<br>
<div class="im"><br>
On Mon, Nov 22, 2010 at 9:08 PM, Scott Taylor <<a href="mailto:scott.taylor@abaslabs.com">scott.taylor@abaslabs.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> We found the same problem. I tried different build environments / compilers<br>
> 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>
><br>
> Scott<br>
><br>
><br>
><br>
> On 23/11/2010 11:35 AM, Santosh wrote:<br>
><br>
> Thank you for the reply Steven.<br>
> Is MSVC supported in x264 - i.e. are there .sln files which I can use ? or I<br>
> need to create a MSVC solution from scratch ?<br>
> Regards,<br>
> Santosh<br>
><br>
> On Mon, Nov 22, 2010 at 4:15 PM, Steven Walters <<a href="mailto:kemuri9@gmail.com">kemuri9@gmail.com</a>> wrote:<br>
>><br>
>> 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>
>><br>
>> On Mon, Nov 22, 2010 at 6:56 PM, Santosh <<a href="mailto:santoshkumarcs1986@gmail.com">santoshkumarcs1986@gmail.com</a>><br>
>> wrote:<br>
>> > Dear experts,<br>
>> > I am having trouble linking libx264.lib to my application on x64<br>
>> > 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<br>
>> > log2f<br>
>> > libx264.lib(encoder.o) : error LNK2019: unresolved external symbol<br>
>> > fseeko64<br>
>> > referenced in function x264_encoder_frame_end<br>
>> > libx264.lib(common.o) : error LNK2001: unresolved external symbol<br>
>> > 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<br>
>> > (libx264.lib) ?<br>
>> > Regards,<br>
>> > Santosh<br>
>> ><br>
>> > _______________________________________________<br>
>> > x264-devel mailing list<br>
>> > <a href="mailto:x264-devel@videolan.org">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">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>
> --<br>
> Jai Hind<br>
><br>
> _______________________________________________<br>
> x264-devel mailing list<br>
> <a href="mailto:x264-devel@videolan.org">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">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">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jai Hind<br>
</div>