libvlc in vc2010 project
Posted: 26 Dec 2010 16:41
I want to use libvlc in a vc2010 project. I built the sample code that I download from the wiki http://wiki.videolan.org/LibVLC_Tutorial
but when I ran it, I get this error:
[001d1c7c] main libvlc error: No modules were found, refusing to start. Check that you properly gave a module path with --plugin-path.
inst = libvlc_new (0, NULL);
inst returns 0x000000
Any one can help me on this?
Here is how I built it in vc2010 in windows 7 x64.
I created a libvlc.lib from libvlc.dll as instructed here http://wiki.videolan.org/GenerateLibFromDll
Then I copied libvlc.dll and libvlccore.dll to the same folder of the project.exe file.
It built, but not running.
Thanks in advance for your help.
but when I ran it, I get this error:
[001d1c7c] main libvlc error: No modules were found, refusing to start. Check that you properly gave a module path with --plugin-path.
inst = libvlc_new (0, NULL);
inst returns 0x000000
Any one can help me on this?
Here is how I built it in vc2010 in windows 7 x64.
I created a libvlc.lib from libvlc.dll as instructed here http://wiki.videolan.org/GenerateLibFromDll
Then I copied libvlc.dll and libvlccore.dll to the same folder of the project.exe file.
It built, but not running.
Thanks in advance for your help.