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

Greg Hazel gah at thalassocracy.org
Sat Apr 30 00:13:10 CEST 2005


Copying a module into a vlc directory should be enough, provided:
- all the required libraries for that module are in place
- the module_suffix and module_symbol are the same (the module meets the api
requirements of the version of vlc you are trying to run it with)

Good luck,
-Greg

> -----Original Message-----
> From: vlc-devel-bounce at videolan.org 
> [mailto:vlc-devel-bounce at videolan.org] On Behalf Of Steve MOREAU
> Sent: Friday, April 29, 2005 4:37 AM
> To: vlc-devel at videolan.org
> Subject: [vlc-devel] Re: Issue developping a simpler 
> wxWindows interface module
> 
> Hello Greg,
> 
> Thanks for your answer :-)
> 
> As for my wx interface module, it's a simple wxFrame to play 
> the video only. I did it to understand wxwindows and vlc modules.
> 
> I ran ldconfig and I try to write some tests files in my 
> /home/steve directory, that are using a "home" makefile. I 
> didn't meet this problem before.
> 
> I still didn't understand why libwxwindows doesn't want to 
> load from elsewhere than vlc-sources dir. Maybe, I have a 
> clue because I encountered some difficulties to install vlc. 
> I did (I don't remember exactly...) :
> - I got vlc-sources for fedora core 3 (0.8.1-1.1)
> - I compiled them with --disable-wxwindows (because 
> ./configure threw wx-gtk  was installed)
> - Then I installed wx-gtk and re-compiled
> - I remembered having done 'yum install videolan-client' and 
> 'yum uninstall' (I know it's a doom but sorry I'm French :-)) 
> for dependencies...
> 
> As a result, I have vlc libs in /usr/lib/vlc and 
> /usr/local/lib/vlc with 2 vlc binaries. I decided to 
> reinstall my Linux in order to have my ideas cleaner... But 
> maybe I did never know why I had these errors.
> 
> I will tell you later
> 
> Bye, and thanks
> 
> Steve
> 
> PS : Greg, can I ask you a question ? Would you know if to 
> copy a module into a remote /usr/lib/vlc/gui directory (I 
> mean not the one of the computer where the library has been 
> compiled) is enough to run 'vlc -I mymodule' or you must do 
> something else ? Because I tried on another computer with 
> just videolan-client installed and it doesn't want to load it 
> (there is no error however : it seems to probe it but it's 
> all). Thanks again
> 
> > Did you run ldconfig (as root) after installing wx? It 
> looks like your 
> > interface module can't find the shared wx libraries (but I 
> can't read 
> > french, so maybe it has a more informative error).
> >
> > I'd like to hear more about this simple wx interface module.
> >
> > -Greg
> >
> >> -----Original Message-----
> >> From: vlc-devel-bounce at videolan.org
> >> [mailto:vlc-devel-bounce at videolan.org] On Behalf Of Steve MOREAU
> >> Sent: Thursday, April 28, 2005 4:27 AM
> >> To: vlc-devel at videolan.org
> >> Subject: [vlc-devel] Issue developping a simpler wxWindows 
> interface 
> >> module
> >>
> >> 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
> >>
> >>
> >
> >
> > --
> > This is the vlc-devel mailing-list, see 
> http://www.videolan.org/vlc/ 
> > To unsubscribe, please read 
> http://developers.videolan.org/lists.html
> >
> >
> 
> 
> --
> This is the vlc-devel mailing-list, see 
> http://www.videolan.org/vlc/ To unsubscribe, please read 
> http://developers.videolan.org/lists.html
> 
> 


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