[Libav-user] Making a static lib with -MD option

Steffen Steffen.Roeber at hella.com
Wed May 22 12:07:43 CEST 2013


Unfortunately not.
Example:
1. dll (cio.dll) links statically to av.libs
2. dll (crecord.dll) links to both statically to av.libs and dynamically to
cio.dll

That gives me:
cio.lib(cio.dll) : error LNK2005: _avpriv_snprintf already defined in
libavutil.lib(snprintf.o)
cio.lib(cio.dll) : error LNK2005: _avpriv_vsnprintf already defined in
libavutil.lib(snprintf.o)
cio.lib(cio.dll) : error LNK2005: _avpriv_strtod already defined in
libavutil.lib(strtod.o)



--
View this message in context: http://libav-users.943685.n4.nabble.com/Making-a-static-lib-with-MD-option-tp4657578p4657706.html
Sent from the libav-users mailing list archive at Nabble.com.


More information about the Libav-user mailing list