Hello. I have tried to install a new plugin for the VLC and I have basically two problems (I am using Linux (Ubuntu)):
1. To compile my program (outside the VLC) I was doing "gcc -o myPlugin myPlugin.c `pkg-config --libs --cflags gtk+-2.0`". My program has a graphic interface based in the GTK libraries (http://www.gtk.org). I imagine I have to change something in the "configure.ac" file, but I dont know what.
2. I think this problem is a very basic thing, but I havent managed to figure it out my my own... :S All the modules added should have a module descriptor (vlc_module_begin(); (...) vlc_module_end()); and three funtions (open, run and close). My problem is than I dont know how to call the open and run functions belonging to my plugin. It could be something like "myPlugin::open(*p_this)", but as it is writen in C, not in C++, I dont think it will work... (I said it was basic! )
Does anyone have any idea on how could I try to solve this problems?