need libvlc.lib (winXP)

This forum is about all development around libVLC.
fstr
New Cone
New Cone
Posts: 1
Joined: 09 Nov 2009 16:58

need libvlc.lib (winXP)

Postby fstr » 09 Nov 2009 17:11

Hi all,

I want to compile my own .dll (winXP, dev-cpp or codeblocks),but need the libvlc.lib.
http://wiki.videolan.org/GenerateLibFromDll
doesnt work, dumpbin.exe crashes ( read somewhere ist because biutils 2.19 ?!)
LoadLibrary("libvlc.dll"); and GetProcAddress(myDll,"libvlc_..."); works, but its a hassle...

is there any archive where i can get .dll and .lib files from (using vlc 1.0.2)?

thanks, f*

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: need libvlc.lib (winXP)

Postby thannoy » 02 Dec 2009 18:13

Do you really need the .lib file?
Using gcc compiler suite (default for code::blocks I think), can't you link your binary with VLC DLL files directly?

I don't remember exactly, but trying the equivalent of:

Code: Select all

gcc -c yourode.c vlc-include-files*.h -o yourcode.o #and (assuming libvlc.dll is in a -L path): gcc yourcode.o -lvlc -o youprog.exe.or.dll


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 19 guests