Writing a plugin

View: New views
3 Messages — Rating Filter:   Alert me  

Writing a plugin

by Tom Vincent Peters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I just joined this list to ask what i have to do to add a simple (actor)
plugin to libvisual.
I want to add support for my self-made 5^3 LedCube and two other (8^3, 10^3)
cubes. Basically there'll be a 3D visualization of the cube and some code to
synchronize the animation with the real cube. All this would be no problem to
write if I knew how to add a plugin to libvisual.
I took libvisual-0.4-dev on my Debian system and a self-compiled version of
libvisual-plugins-0.4.0, to which I tried to add my plugin. I added my plugin-
directory to plugins/actor/Makefile.am. This failed (ran --configure in the main
directory, but plugin was not listed).
What do I have to do to add a plugin properly?

Sincerely, Tom

------------------------------------------------------------------------------
_______________________________________________
Libvisual-devel mailing list
Libvisual-devel@...
https://lists.sourceforge.net/lists/listinfo/libvisual-devel

Re: Writing a plugin

by Burkhard Plaum :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Tom Vincent Peters wrote

> Hello,
>
> I just joined this list to ask what i have to do to add a simple (actor)
> plugin to libvisual.
> I want to add support for my self-made 5^3 LedCube and two other (8^3,
> 10^3)
> cubes. Basically there'll be a 3D visualization of the cube and some code
> to
> synchronize the animation with the real cube. All this would be no problem
> to
> write if I knew how to add a plugin to libvisual.
> I took libvisual-0.4-dev on my Debian system and a self-compiled version
> of
> libvisual-plugins-0.4.0, to which I tried to add my plugin. I added my
> plugin-
> directory to plugins/actor/Makefile.am. This failed (ran --configure in
> the main
> directory, but plugin was not listed).
> What do I have to do to add a plugin properly?

If you add a directory, you must also list it in configure.ac and rerun
automake and autoconf.

Burkhard


------------------------------------------------------------------------------
_______________________________________________
Libvisual-devel mailing list
Libvisual-devel@...
https://lists.sourceforge.net/lists/listinfo/libvisual-devel

Re: Writing a plugin

by Tom Vincent Peters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Burkhard Plaum wrote:
> If you add a directory, you must also list it in configure.ac and rerun
> automake and autoconf.

Thank you, i figured it out :)

------------------------------------------------------------------------------
_______________________________________________
Libvisual-devel mailing list
Libvisual-devel@...
https://lists.sourceforge.net/lists/listinfo/libvisual-devel