[x264-devel] x264 on x64

Santosh santoshkumarcs1986 at gmail.com
Tue Nov 23 20:57:44 CET 2010


Thanks Scott for your replies.

I find only win32 sln and proj files.
How do I get x64 configuration files ?

I tried adding a new configuration (in MSVC) and building it.
But, I get a lot of errors.

Regards,
Santosh

On Mon, Nov 22, 2010 at 9:58 PM, Scott Taylor <scott.taylor at abaslabs.com>wrote:

>  Hi Santosh,
>
> 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:
> libx264.vcproj
> libx264_vs2008.vcproj
> libx264_vs2010.vcxproj
>
> 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.
>
> Scott
>
>
>
>
> On 23/11/2010 12:26 PM, Santosh wrote:
>
> Hi Scott,
>
>  Thank you very much for the reply.
>
>  I need the library to link to my application.
> So, x264.exe alone won't suffice.
>
>  The link that you posted has exe's and dlls.
> Is there any place I can get .libs or .sln, so that I can build the library
> ?
>
>  I am trying to build 64-bit libx264.lib.
>
>  Regards,
> Santosh
>
>  On Mon, Nov 22, 2010 at 6:08 PM, Scott Taylor <scott.taylor at abaslabs.com>wrote:
>
>>  We found the same problem. I tried different build environments /
>> compilers and using MS' LIB tool, no success. Always got unresolved symbols.
>>
>> Fortunately we found an existing MSVC sln in Direct264:
>> http://sourceforge.net/projects/direct264/
>>
>> We also found that we needed to extern "C" the include:
>> extern "C"
>> {
>>   #include "x264.h"
>> }
>>
>> Scott
>>
>>
>>
>>
>> On 23/11/2010 11:35 AM, Santosh wrote:
>>
>> Thank you for the reply Steven.
>>
>>  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 ?
>>
>>  Regards,
>> Santosh
>>
>> On Mon, Nov 22, 2010 at 4:15 PM, Steven Walters <kemuri9 at gmail.com>wrote:
>>
>>> 64bit MinGW and 64bit MSVC were still incompatible with each other
>>> last time i checked.
>>>
>>> if this is still the case, you'll need to compile x264 with visual
>>> studio if you want to use the static library in another visual studio
>>> project
>>> (which i'm inferring with your use of a .lib filename vs .a)
>>>
>>> On Mon, Nov 22, 2010 at 6:56 PM, Santosh <santoshkumarcs1986 at gmail.com>
>>> wrote:
>>> > Dear experts,
>>> > I am having trouble linking libx264.lib to my application on x64
>>> machine.
>>> > I am able to build it. But, when I try linking it, I get the following
>>> > errors:
>>> > .
>>> > .
>>> > libx264.lib(encoder.o) : error LNK2019: unresolved external symbol
>>> log2f
>>> > referenced in function x264_validate_parameters
>>> > libx264.lib(set.o) : error LNK2001: unresolved external symbol log2f
>>> > libx264.lib(analyse.o) : error LNK2001: unresolved external symbol
>>> log2f
>>> > libx264.lib(ratecontrol.o) : error LNK2001: unresolved external symbol
>>> log2f
>>> > libx264.lib(encoder.o) : error LNK2019: unresolved external symbol
>>> fseeko64
>>> > referenced in function x264_encoder_frame_end
>>> > libx264.lib(common.o) : error LNK2001: unresolved external symbol
>>> fseeko64
>>> > .
>>> > .
>>> > .
>>> >
>>> > I am building on a 64-bit Windows 7 machine and use the following
>>> > configuration:
>>> > ./configure --host=x86_64-w64-mingw32
>>> > Is x264 supported on 64-bit machines ?
>>> > Also, is there is any website where I can get static library
>>> (libx264.lib) ?
>>> > Regards,
>>> > Santosh
>>> >
>>>  > _______________________________________________
>>> > x264-devel mailing list
>>> > x264-devel at videolan.org
>>> > http://mailman.videolan.org/listinfo/x264-devel
>>> >
>>> >
>>> _______________________________________________
>>> x264-devel mailing list
>>> x264-devel at videolan.org
>>> http://mailman.videolan.org/listinfo/x264-devel
>>>
>>
>>
>>
>> --
>> Jai Hind
>>
>>
>> _______________________________________________
>> x264-devel mailing listx264-devel at videolan.orghttp://mailman.videolan.org/listinfo/x264-deve <http://mailman.videolan.org/listinfo/x264-devel>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20101123/6875d373/attachment-0001.html>


More information about the x264-devel mailing list