[vlc-devel] Re: Issue developping a simpler wxWindows interface module

Gildas Bazin gbazin at altern.org
Thu Apr 28 13:37:13 CEST 2005


On Thursday 28 April 2005 12:26, Steve MOREAU wrote:
> Hello,
> 
> First of all, I would like to thank you for your player ;-)
> 
> I'm currently developping a wxWindows interface module. Following your
> documentation, I have got it to compile, and to work but only in certain
> conditions. I explain :
> 1. If I run vlc inside the vlc sources directory where I compiled it,
> everything's fine an my module is loaded.
> 
> 2. But, if I run it from elsewhere, vlc loads a "dummy" skins module
> instead of my module
> 
> In my opinion, it could be a variable problem but how to know which ?
> 
> Have you already encountered this kind of you problem developping a module
> interface ?
> Thanks in advance
> 
> Steve
> 
> PS : Here are the debug trace from vlc :
> 
> 1. Correct interface module loaded :
> 
> [root at localhost vlc_sources/modules/gui/mymodule]# vlc -I mymodule -vvv
> ...
> [00000001] main vlc debug: recursively browsing `modules'
> [00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc'
> ...
> [00000207] main interface debug: looking for interface module
> [00000207] main interface debug: probing 4 candidates
> [00000200] main module debug: using interface module "mymodule"
> [00000207] main interface debug: interface initialized
> 
> 
> 2. "Dummy" skins2 module loaded instead of mymodule :
> 
> [root at localhost elsewhere]# vlc -I mymodule -vvv
> ...
> [00000209] main interface debug: probing 4 candidates
> [00000209] main interface warning: cannot load module
> `/usr/local/lib/vlc/gui/libmymodule_plugin.so' (libwx_gtk2_xrc-2.5.so.5:
> Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou répertoire de
> ce type)
> [00000209] main interface warning: cannot load module
> `/usr/local/lib/vlc/gui/libwxwindows_plugin.so' (libwx_gtk2_xrc-2.5.so.5:
> Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou répertoire de
> ce type)
> ...

My bet is that wxWidgets can't find your xrc file (our wxWindows plugin 
doesn't use xrc files so doesn't have this problem).

--
Gildas

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list