Hi Tonny,
I just downloaded the sample_app source code and the clutter library
yesterday.
But I just followed Raymond 's suggestion to update my project.
After then I run the git pull at my sample_app dir, and I builded the
project again.
It was work. ~~so~~
By the way , why the clutter_cairo package has a error ?
Best Regards
Andy
----- Original Message -----
From: "Tzeng, Tonny" <[email protected]>
To: "Andy" <[email protected]>; <[email protected]>
Sent: Friday, March 27, 2009 1:59 PM
Subject: RE: [Moblin Dev] New Application Sample Project code error
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
__________ NOD32 3911 (20090305) Information __________
This message was checked by NOD32 antivirus system.
http://www.nod32.com.hk
_______________________________________________
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