Hi Andy, You need to modify the sample_apps source code manually in order to run it on Alpha2 release, because the Clutter library was upgraded to 0.9: (1) The args of clutter_color_shade() has been changed, the idea is to keep output arguments at the end. (2) The ClutterLabel has been replaced by ClutterText, so the CLUTTER_LABEL macro becomes CLUTTER_TEXT, and clutter_label_*() APIs become clutter_text_*() (3) Since the ClutterAlpha has been revised, so the arguments of clutter_alpha_new_full() needed to be changed accordingly, now the default alpha functions are presented by mode IDs.
Best Regards, Tonny -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Andy Sent: Friday, March 27, 2009 1:31 PM To: [email protected] Subject: [Moblin Dev] New Application Sample Project code error Hi lists, There are some problems in the Sample Clutter Project code. My platform is VMware with Moblin-netbook-alpha2 and I have already install the clutter packages such as clutter, clutter-box2d and clutter-cairo . I make the first two clutter package, nothing error happen. But when I make the clutter-cairo, some errors is came out. It showed some errors in example dir. So I modify the Makeifle to take out the example. After then, there is no error happen. Finally, I started building the Example code from here http://moblin.org/documentation/moblin-sdk/create-new-application. First two error is the arguments problem. In the helloword.c the function clutter_color_shade(orig_color, &c, scale); But in the "clutter-color.h "head file, it defines clutter_color_shade(const ClutterCoror, gdouble, ClutterColor); So I thought that has to be exchanged with the last two arguments. After then, the error is repaied. Then I make the project again, there is other error came out. undefined reference to 'CLUTTER_LABEL' undefined reference to 'clutter_label_set_color' undefined reference to 'clutter_label_new_full' But this one I don't know how to fix it. Can someone tell me about it? Thanks Best Regards Andy _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/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 _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/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
