[FFmpeg-devel] Shared libs under mingw32

Gonzalo Garramuño ggarra
Tue Jan 8 12:04:29 CET 2008

The current configure/Makefile when run under mingw32 with 
--enable-shared creates (if lib.exe is available) avcodec.lib, 
avformat.lib, etc. for linking against the microsoft compiler.

However, when you actually link against one of those, the resulting 
software actually looks for the full library name, like avformat-51.dll.

I'm wondering if this is intended.  Shouldn't the .lib file created be 
named like the .dll (ie. avformat-51.lib).  Other projects (libogg, 
libtheora, etc) actually do this and create the .lib file for the actual 
full library name.

Otherwise, it becomes impossible to know what's the DLL that corresponds 
to a certain .lib file.

Gonzalo Garramu?o
ggarra at advancedsl.com.ar

AMD4400 - ASUS48N-E
Xubuntu Gutsy

More information about the ffmpeg-devel mailing list