Clutter 1.0 has released for a period. Please use clutter 1.0 instead of 0.9 
version as API has big changes from 0.9 to 1.0.

-----Original Message-----
From: dev-boun...@moblin.org [mailto:dev-boun...@moblin.org] On Behalf Of Wang, 
Jing J
Sent: 2009年9月23日 15:22
To: Simon Bolek; dev@moblin.org
Subject: Re: [Moblin Dev] sample_apps do not work, clutter 0.9

It is not your fault. The sample Makefile is deprecated a bit. To resolve it 
quickly, Please update Makefile.am  from clutter-0.9 to clutter-1.0. I'll file 
a bug to push it fixed ASAP.

-----Original Message-----
From: dev-boun...@moblin.org [mailto:dev-boun...@moblin.org] On Behalf Of Simon 
Bolek
Sent: 2009年9月23日 14:24
To: dev@moblin.org
Subject: [Moblin Dev] sample_apps do not work, clutter 0.9

hello everyone,

i'm new here, so welcome everyone:)!

after searching the mail lists and the web without an answer i'm posting it
here.

What I did:
I installed xubuntu 9.04.
Following the "Create A New Application" tutorial on moblin.org:
 - I installed standard development tools
 - downloaded sample apps with git clone git://
git.moblin.org/sample_apps.git
 - ./autogen.sh successfully

The problem:
While trying to build the sample_apps with make, or sudo make install
I get the following error:

mob...@moblin:~/sample_apps$ make
make  all-recursive
make[1]: Entering directory `/home/moblin/sample_apps'
Making all in src
make[2]: Entering directory `/home/moblin/sample_apps/src'
gcc -DHAVE_CONFIG_H -I. -I..    -pthread -D_REENTRANT
-I/usr/include/clutter-0.9 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/gtk-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -Wall -Werror -g3 -O0 -ggdb
-DPKGDATADIR="\"/usr/local/share/sample_apps\"" -g -O2 -MT helloworld.o -MD
-MP -MF .deps/helloworld.Tpo -c -o helloworld.o helloworld.c
helloworld.c: In function ‘create_new_character’:
helloworld.c:140: error: too few arguments to function
‘clutter_timeline_new’
cc1: warnings being treated as errors
helloworld.c: In function ‘key_pressed_cb’:
helloworld.c:175: error: implicit declaration of function
‘clutter_event_get_key_symbol’
helloworld.c: In function ‘main’:
helloworld.c:195: error: implicit declaration of function
‘clutter_stage_set_fullscreen’
helloworld.c:198: error: passing argument 2 of ‘clutter_actor_get_size’ from
incompatible pointer type
helloworld.c:198: error: passing argument 3 of ‘clutter_actor_get_size’ from
incompatible pointer type
make[2]: *** [helloworld.o] Error 1
make[2]: Leaving directory `/home/moblin/sample_apps/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/moblin/sample_apps'
make: *** [all] Error 2

I looked into the coding of helloworld.c and I saw in the line 140 that the
clutter_timeline_new has only one parameter beeing passed to it, while the
documentation mentions 2. even the comment in this line mentions 2 params.

Is there something I did wrong? Could you help me on this one?

thanks+best regards
simon:)
_______________________________________________
Moblin dev Mailing List
dev@moblin.org

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
_______________________________________________
Moblin dev Mailing List
dev@moblin.org

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
_______________________________________________
Moblin dev Mailing List
dev@moblin.org

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