<HTML><BODY><div>Hello,</div><div> </div><div>I’m trying to build libx264 by Visual Studio as a shared lib (dll).</div><div>I commented in CMaleLists.txt<br>#add_library(libx264 STATIC $<TARGET_OBJECTS:encoder> $<TARGET_OBJECTS:common> ${YASM_OBJS} ${YASM_SRCS})<br>and uncommented</div><div>add_library(libx264 SHARED $<TARGET_OBJECTS:encoder> $<TARGET_OBJECTS:common> )</div><div> </div><div>but failed with a lot of errors like: </div><div> </div><div>mc-c.obj : error LNK2001: unresolved external symbol _x264_8_mc_offsetadd_w4_mmx2</div><div> </div><div>Could you please suggest where is the possible problem? </div><div> </div><div> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>Bye, Igor</div></div></div></BODY></HTML>