Hi<div><br></div><div>I compiled the latest git, get libx264.a</div><div><br></div><div>I use libx264.a in Visual C++ and get the following linker error:</div><div><br></div><div>1>libx264.a(sad-a.o) : error LNK2001: unresolved external symbol _x264_sw_6</div>
<div><br></div><div>I searched the x264 code base , it seems that sw_6 is never used, so I just remove it, and the Visual C++ is happy with the libx264.a again.</div><div><br></div><div><div>diff --git a/common/x86/sad-a.asm b/common/x86/sad-a.asm</div>
<div>index dd144c0..72c1789 100644</div><div>--- a/common/x86/sad-a.asm</div><div>+++ b/common/x86/sad-a.asm</div><div>@@ -31,7 +31,6 @@ SECTION .text</div><div> cextern pb_3</div><div> cextern pb_shuf8x8c</div><div> cextern pw_8</div>
<div>-cextern sw_6</div><div> cextern sw_64</div><div> </div><div> ;=============================================================================</div><div><br></div><br>-- <br>-----------------------------------------------------------------------------------------<br>
My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2<br>
</div>