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

Rafaël Carré funman at videolan.org
Mon Nov 18 18:09:13 CET 2013


Le 17/11/2013 15:55, Jérôme Forissier a écrit :
> 
> 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

Right because our DLL are libvlc.dll and libvlccore.dll and on unix
-lvlc removes the 'lib' prefix

Can you try the following one-liner lib file ?

$ cat vlc.lib
INPUT(libvlc.lib)

> 
> "
> 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,
> 




More information about the vlc-devel mailing list