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

2013-05-22 Thread Steffen
The git head works but gives me something like: 1 Creating library ..\..\bin\Debug\cio.lib and object ..\..\bin\Debug\cio.exp 1libavcodec.lib(pamenc.o) : warning LNK4049: locally defined symbol _avpriv_snprintf imported 1libavcodec.lib(huffyuvenc.o) : warning LNK4217: locally defined symbol

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

2013-05-22 Thread Hendrik Leppkes
On Wed, May 22, 2013 at 9:42 AM, Steffen steffen.roe...@hella.com wrote: The git head works but gives me something like: 1 Creating library ..\..\bin\Debug\cio.lib and object ..\..\bin\Debug\cio.exp 1libavcodec.lib(pamenc.o) : warning LNK4049: locally defined symbol _avpriv_snprintf

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

2013-05-22 Thread Steffen
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

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

2013-05-22 Thread Alex Cohn
On Wed, May 22, 2013 at 1:07 PM, Steffen steffen.roe...@hella.com wrote: 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:

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

2013-05-14 Thread Carl Eugen Hoyos
Steffen Steffen.Roeber@... writes: i'm using FFmpeg 1.2 from March 15, 2013. If you are not a distributor, please always use current git head. Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

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

2013-05-13 Thread Steffen
In Windows it is quite common to have a static library which itself depends on dynamic runtime libraries. For this purpose I configure ffmpeg to be built with -MD option. In this case I get many linker error of avpriv_sprintf or avpriv_strtod. libavformat.lib(gopher.o) : error LNK2001: unresolved

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

2013-05-13 Thread Hendrik Leppkes
On Mon, May 13, 2013 at 12:37 PM, Steffen steffen.roe...@hella.com wrote: In Windows it is quite common to have a static library which itself depends on dynamic runtime libraries. For this purpose I configure ffmpeg to be built with -MD option. In this case I get many linker error of

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

2013-05-13 Thread Steffen
i'm using FFmpeg 1.2 from March 15, 2013. Which files or changes were applied to remove this failure in git head? -- View this message in context: http://libav-users.943685.n4.nabble.com/Making-a-static-lib-with-MD-option-tp4657578p4657584.html Sent from the libav-users mailing list archive at