[x264-devel] x264 on x64
Scott Taylor
scott.taylor at abaslabs.com
Tue Nov 23 03:08:02 CET 2010
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
> <mailto: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
> <mailto: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 <mailto:x264-devel at videolan.org>
> > http://mailman.videolan.org/listinfo/x264-devel
> >
> >
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org <mailto:x264-devel at videolan.org>
> http://mailman.videolan.org/listinfo/x264-devel
>
>
>
>
> --
> Jai Hind
>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20101123/d94cf158/attachment.html>
More information about the x264-devel
mailing list