Page 1 of 1

libVLC_new plugin load failing

Posted: 26 Mar 2014 06:12
by ccamporesi
Hello guys,
I am writing to report a weird issue that I encountered since I moved my code from libVLC 2.0.8 to 2.1.0 (and all the other following releases) under windows and visual studio.
Under linux everything still works correctly since I am compiling the library and plugins myself (and no DLLs LOL).
In my simple application I am basically creating a new context through lbvlc_new, loading a video and rendering it an embedded OGRE texture (nothing too special about this).
After I moved from 2.0.8 to 2.1.0 it seems that libvlc_new still loads all the plugins correctly but it unloads them without giving any specific reason.
Most of the DLLs are now displaying this error message '0xC0000139: Entry Point Not Found'.
Digging a little bit further I was able to isolate the fact that after 2.1.0 the plugins where compiled and released a little bit differently than before, in fact, if I link my application with the new libvlc 2.1.3 and I load the plugins' DLL from 2.0.8 everything still works correctly.
Any thought or suggestion?
Many thanks in advance
C

Re: libVLC_new plugin load failing

Posted: 09 Apr 2014 09:04
by Lokesh
Yes ...I am also facing same issue.
After little analysis ...it looks like libvlc_new interface is replaced in VLC 2.1.x onward.

Any document/way to compare the old interface with new replaced interface would help inn migrating from VLC 2.0.X to VLC 2.1.x

Re: libVLC_new plugin load failing

Posted: 22 Apr 2014 15:00
by Jean-Baptiste Kempf
No, libvlc_new is still the right point of entry.
Are you sure the .lib file you use is the right one?

Re: libVLC_new plugin load failing

Posted: 28 Apr 2014 22:14
by ccamporesi
Hi Jean and Lokesh,
thanks for the reply. Yes I am linking against the right one (I am using CMake to create my projects with absolute paths).
I also double checked the environment vars and I only have vlc dlls in my run folder.
C