GNOME Bugzilla – Bug 672536
1.9.16 fails to build on OSX
Last modified: 2012-05-29 10:14:12 UTC
See make output: make make all-recursive Making all in clutter make all-am CC clutter-backend-osx.lo CC clutter-stage-osx.lo ./osx/clutter-stage-osx.c: In function 'clutter_stage_osx_show': ./osx/clutter-stage-osx.c:399: warning: 'NSWindow' may not respond to '-mouse:inRect:' ./osx/clutter-stage-osx.c:399: warning: (Messages without a matching method signature ./osx/clutter-stage-osx.c:399: warning: will be assumed to return 'id' and accept ./osx/clutter-stage-osx.c:399: warning: '...' as arguments.) ./osx/clutter-stage-osx.c:410: warning: 'NSOpenGLView' may not respond to '-trackingRect' ./osx/clutter-stage-osx.c:411: warning: passing argument 8 of 'enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:' makes integer from pointer without a cast CC clutter-event-loop-osx.lo CC clutter-event-osx.lo CC clutter-device-manager-osx.lo CC clutter-action.lo CC clutter-actor-box.lo CC clutter-actor-meta.lo CC clutter-actor.lo ./clutter-actor.c: In function 'clutter_actor_paint': ./clutter-actor.c:3297: error: 'actor_paint_counter' undeclared (first use in this function) ./clutter-actor.c:3297: error: (Each undeclared identifier is reported only once ./clutter-actor.c:3297: error: for each function it appears in.) ./clutter-actor.c:3301: error: 'actor_pick_counter' undeclared (first use in this function) make[3]: *** [clutter-actor.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
it's not a blocker, though it's a critical issue.
Created attachment 210237 [details] [review] osx: Fix compilation warnings Testing appreciated.
Review of attachment 210237 [details] [review]: The patch does not solve the compilation problems. Further I guess clutter_actor.c needs a patch as well. make output: make all-recursive Making all in clutter GEN stamp-marshal GEN clutter-marshal.c GEN stamp-enum-types GEN clutter-enum-types.c make all-am CC clutter-backend-osx.lo CC clutter-stage-osx.lo ./osx/clutter-stage-osx.c: In function '-[ClutterGLView dealloc]': ./osx/clutter-stage-osx.c:178: error: 'trackingRect' undeclared (first use in this function) ./osx/clutter-stage-osx.c:178: error: (Each undeclared identifier is reported only once ./osx/clutter-stage-osx.c:178: error: for each function it appears in.) ./osx/clutter-stage-osx.c: In function '-[ClutterGLView clutterStage]': ./osx/clutter-stage-osx.c:194: warning: return from incompatible pointer type ./osx/clutter-stage-osx.c: In function 'clutter_stage_osx_show': ./osx/clutter-stage-osx.c:444: warning: 'NSOpenGLView' may not respond to '-trackingRect' ./osx/clutter-stage-osx.c:444: warning: (Messages without a matching method signature ./osx/clutter-stage-osx.c:444: warning: will be assumed to return 'id' and accept ./osx/clutter-stage-osx.c:444: warning: '...' as arguments.) ./osx/clutter-stage-osx.c:445: warning: passing argument 8 of 'enterExitEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:trackingNumber:userData:' makes integer from pointer without a cast make[3]: *** [clutter-stage-osx.lo] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Created attachment 210354 [details] [review] osx: Fix remaining compilation issues
the issue in clutter-actor.c was already fixed in master prior to attaching this patch
compiling is fixed, but there are some run-time issues because of the lack of CoglContext. this is being tracked on the mailing list: http://lists.clutter-project.org/pipermail/clutter-devel-list/2012-May/000374.html