金鑫 <[email protected]> writes:

> 1.i wrote a sample application, but when i build it. it falied..

You're using wrong API. There is a simple default plugin in mutter which
you can use as example.

> 2.How to get plugin of mutter-moblin?

You can get the source rpm from your yum repo for now.

>
> #include <stdlib.h>
> #include <mutter/mutter-private/mutter-plugin.h>
> #include <clutter/clutter.h>
>
> static MutterPlugin *plugin;
> static GType plugin_type;
>
> int
> main(int argc, char *argv[])
> {
>   plugin_type = mutter_plugin_get_type();
>   plugin = g_object_new(plugin_type, NULL);
>   return EXIT_SUCCESS;
> }
>
> when i build it use: gcc -Wall task.c -o task `pkg-config clutter-1.0
> --cflags --libs`
> the build error is:
> undefined reference tomutter_plugin_get_type();
>
>
> Best regards
>   firegnu
> _______________________________________________
> Moblin dev Mailing List
> [email protected]
>
> To manage or unsubscribe from this mailing list visit:
> http://lists.moblin.org/listinfo/dev or your user account on 
> http://moblin.org once logged in.
>
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists

-- 
Roger WANG
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to