[x264-devel] libx264 Visual Studio build question

Igor Sluge sluge at mail.ru
Sat Apr 18 04:31:58 UTC 2020


Hello,
 
I’m trying to build libx264 by Visual Studio as a shared lib (dll).
I commented in CMaleLists.txt
#add_library(libx264 STATIC $<TARGET_OBJECTS:encoder> $<TARGET_OBJECTS:common> ${YASM_OBJS} ${YASM_SRCS})
and uncommented
add_library(libx264 SHARED $<TARGET_OBJECTS:encoder> $<TARGET_OBJECTS:common> )
 
but failed with a lot of errors like: 
 
mc-c.obj : error LNK2001: unresolved external symbol _x264_8_mc_offsetadd_w4_mmx2
 
Could you please suggest where is the possible problem? 
 
 
Bye, Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20200418/112349b7/attachment.html>


More information about the x264-devel mailing list