Thank you all. It works after upgrading to latest clutter version. Saya
2009/7/10 Peng Liu <lp...@yahoo.com> > > Hi, > Check your clutter version in your development environment and the last > clutter version is required. > I failed to compile clutter-gesture with clutter 0.9.2 and it showed the > same error info as yours. And I succeed with the last clutter version > :0.9.6. > There was an API change in clutter 0.9 development towards 1.0 release. > You'd better use the last clutter version. > > > > ---- > Liu Peng > http://www.linuxgraphics.cn > > ------------------------------ > ** > > ------------------------------ > > Date: Thu, 9 Jul 2009 16:02:18 +0800 > From: Saya Sheng (???) <saya.sh...@gmail.com> > To: dev@moblin.org > Subject: [Moblin Dev] compiling programs from clutter gesture project > Message-ID: > <25b511020907090102v5b6baf50pe38485e8db740...@mail.gmail.com> > Content-Type: text/plain; charset=windows-1252 > > Hi, > I downloaded the clutter gesture project from > git://git.moblin.org/clutter-gesture and tried to compile it in moblin > beta > develop environment but it showed the following messages while executing > make command > > cc1: warnings being treated as errors > engine.c: In function ?new_gesture_slide_event?: > engine.c:104: error: passing argument 2 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:104: error: passing argument 3 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:111: error: passing argument 2 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:111: error: passing argument 3 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c: In function ?calculate_speed?: > engine.c:128: error: passing argument 2 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:128: error: passing argument 3 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:132: error: passing argument 2 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:132: error: passing argument 3 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c: In function ?gesture_recognize?: > engine.c:177: error: passing argument 2 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:177: error: passing argument 3 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c: In function ?state_idle_handle_event?: > engine.c:402: error: implicit declaration of function > ?clutter_event_get_button? > engine.c: In function ?state_in_recognize_handle_event?: > engine.c:450: error: passing argument 2 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:450: error: passing argument 3 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:451: error: passing argument 2 of ?clutter_event_get_coords? from > incompatible pointer type > engine.c:451: error: passing argument 3 of ?clutter_event_get_coords? from > incompatible pointer type > make[2]: *** [engine.o] Error 1 > make[2]: Leaving directory `/home/moblin/clutter-gesture/engine' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/moblin/clutter-gesture' > make: *** [all] Error 2 > > > Any suggestions are welcomed > > > > > _______________________________________________ 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