[vlc-devel] Project of generation libvlc.lib compatible with MS Visual Studio.

Jean-Baptiste Kempf jb at videolan.org
Thu Nov 10 17:41:13 CET 2011


On Thu, Nov 10, 2011 at 10:28:14AM -0500, Jacques Boileau wrote :
> What I have been doing for quite a while now that is probably the
> simpliest way to get a VisualStudio compatible .lib:
> 
> Copy the file from the VLC source distribution \src\libvlc.sym to a
> directory of your choice.
> 
> Add a line at the top of the copied file with the single word EXPORTS.
> 
> Start a Visual Studio command prompt from the visual studio tools
> program menu. Navigate the directory where you copied the libvlc.sym
> file and issue the command:
> 
> lib /DEF:libvlc.sym
> 
> This will create the libvlc.lib needed to link with the libvlc.dll.

Wouldn't it be better to generate the .lib from the .def, at libvlc.dll
build time and ship it in the sdk?

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list