[vlc-devel] libvlc{, core}.dll.a missing in vlc-2.1.1-win32.7z (sdk/lib)

Jérôme Forissier jerome at taodyne.com
Sun Nov 17 15:55:05 CET 2013


On 17 nov. 2013, at 11:29, Jean-Baptiste Kempf wrote:

> On 17 Nov, Jérôme Forissier wrote :
>> ...is it intentional?
> 
> You should have the .lib for those.

Indeed. But they should be named vlc.lib and vlccore.lib, according to http://www.mingw.org/wiki/Specify_the_libraries_for_the_linker_to_use

"
Also note that the library names "lib<name>.a" and "lib<name>.lib" are not equivalent; if you have a library named according to the aberrant "lib<name>.lib" convention, it will not be found by an "-l<name>" specification -- if you cannot rename the library, you must use the form "-llib<name>" instead.
"

Moreover since there are no .dll.a anymore, it seems that the .la file are invalid (they refer to the .dll.a). I cannot say for sure because I don't use libttool, though.

This said, MinGW's -l<name> will happily link against <name>.dll so in my project I worked around the problem by adjusting -L<path> on Windows.

Thanks,

-- 
Jerome




More information about the vlc-devel mailing list