[x264-devel] C Style X264 not easily compiled in Visual Studio.

JIA Pei jp4work at gmail.com
Sun Aug 23 06:03:04 CEST 2009


Hi, all:

Since all X264 codes are C Standard, I've got to revise a bit to make it
compiled successfully in Windows Visual Studio 2008.
However, the test project X264 always fail to compile and put out some error
messages:


1>libx264.lib(analyse.obj) : error LNK2005: _x264_lambda_tab already defined
in libx264.lib(encoder.obj)
1>libx264.lib(analyse.obj) : error LNK2005: _x264_lambda2_tab already
defined in libx264.lib(encoder.obj)
1>libx264.lib(cavlc.obj) : error LNK2005: _x264_lambda_tab already defined
in libx264.lib(encoder.obj)
1>libx264.lib(cavlc.obj) : error LNK2005: _x264_lambda2_tab already defined
in libx264.lib(encoder.obj)
1>libx264.lib(cabac.obj) : error LNK2005: _x264_lambda_tab already defined
in libx264.lib(encoder.obj)
1>libx264.lib(cabac.obj) : error LNK2005: _x264_lambda2_tab already defined
in libx264.lib(encoder.obj)
1>libx264.lib(macroblock.obj) : error LNK2005: _x264_lambda_tab already
defined in libx264.lib(encoder.obj)
1>libx264.lib(macroblock.obj) : error LNK2005: _x264_lambda2_tab already
defined in libx264.lib(encoder.obj)
1>libx264.lib(me.obj) : error LNK2005: _x264_lambda_tab already defined in
libx264.lib(encoder.obj)
1>libx264.lib(me.obj) : error LNK2005: _x264_lambda2_tab already defined in
libx264.lib(encoder.obj)
1>bin/x264.exe : fatal error LNK1169: one or more multiply defined symbols
found




I'm just wondering whether X264 developers may make X264 a real platform
independent code ---- please ensure you know C99 is not well supported by
Visual Studio 2008. So, can you please help?


Rgds
JIA

-- 
Welcome to Vision Open
http://www.visionopen.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20090823/c7c7fdb0/attachment.htm>


More information about the x264-devel mailing list