Page 1 of 1

need libvlc.lib (winXP)

Posted: 09 Nov 2009 17:11
by fstr
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*

Re: need libvlc.lib (winXP)

Posted: 02 Dec 2009 18:13
by thannoy
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