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

Steve MOREAU moreau at essi.fr
Thu Apr 28 13:26:42 CEST 2005


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)
...
[00000209] skins2 interface error: No suitable dialogs provider found
[00000209] skins2 interface debug: Cannot open directory /root/.vlc/skins2
[00000209] skins2 interface debug: Cannot open directory share/skins2
[00000209] skins2 interface debug: found skin
/usr/local/share/vlc/skins2/default.vlt
[00000201] main module debug: using interface module "skins2"
[00000209] main interface debug: interface initialized

-- 
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