[vlc-devel] libvlc.lib for Visual C++

Tanguy Krotoff tkrotoff at gmail.com
Fri Mar 21 08:29:04 CET 2008

I installed mingw/msys + dlltool + pexports
It does not work, I get this:

C:\mingw\bin>pexports libvlc-control.dll > libvlc-control.def

libvlc-control.def is OK

C:\mingw\bin>dlltool -verbose --dllname libvlc-control.dll --input-def
libvlc-control.def --output-lib libvlc-control.lib
dlltool: Processing def file: libvlc-control.def
dlltool: LIBRARY: libvlc-control.dll base: ffffffff
dlltool: Processed def file
dlltool: Processing definitions
dlltool: Processed definitions
dlltool: Generating export file: rbose
dlltool: Opened temporary file: dglc.s
dlltool: run: as   -o rbose dglc.s
dlltool: No error
dlltool: CreateProcess

libvlc-control.lib is simply empty + useless *.s files :/

It would be so easy for you to simply copy the .lib file in your
snapshot .zip files
So for the moment I use windows LoadLibrary() + even more code if I
want my app to work under Linux :/

On Thu, Mar 13, 2008 at 2:52 PM, Rémi Denis-Courmont <rem at videolan.org> wrote:
> Le Thursday 13 March 2008 03:01:48 Tanguy Krotoff, vous avez écrit :
> > I'm not talking about compiling vlc (and yes I know MSVC cannot compile
>  > vlc...) I'm talking about *providing libvlc.lib*, a different topic IMHO
>  > even if related of course
>  AFAIK, libtool creates the .lib using dlltool already. I don't see the
>  problem.
>  --
>  Rémi Denis-Courmont

Tanguy Krotoff <tkrotoff at gmail.com>
+33 6 68 42 70 24

More information about the vlc-devel mailing list