clutterr-1.1.2 with openGL ES and eglnative backend



hi ,

I have compiled clutter 1.1.2 with eglnative backend and installed.


#include <clutter/clutter.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{

        clutter_init(&argc, &argv);

        ClutterColor stage_color = { 0, 0, 0, 255 };

        ClutterActor *stage = clutter_stage_get_default();
        clutter_actor_set_size(stage, 512, 512);
        clutter_stage_set_color(CLUTTER_STAGE(stage), &stage_color);
        clutter_actor_show(stage);
       
        clutter_main();

        return EXIT_SUCCESS;
}

running the above  sample application I am getting the following error.

when Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()


  #0  0x00000000 in ?? ()
#1  0x0017c2b3 in _clutter_stage_window_realize (window=0x80590c8)
    at ./clutter-stage-window.c:75
#2  0x0017b075 in clutter_stage_realize (self=0x8057018)
    at ./clutter-stage.c:298
#3  0x00a97984 in g_cclosure_marshal_VOID__VOID ()
   from /lib/libgobject-2.0.so.0
#4  0x00a88959 in ?? () from /lib/libgobject-2.0.so.0
#5  0x00a8a1fb in g_closure_invoke () from /lib/libgobject-2.0.so.0
#6  0x00aa02fd in ?? () from /lib/libgobject-2.0.so.0
#7  0x00aa1d6c in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#8  0x00aa21e6 in g_signal_emit () from /lib/libgobject-2.0.so.0
#9  0x0013a378 in clutter_actor_realize (self=0x8057018)
    at ./clutter-actor.c:1221
#10 0x00163f03 in clutter_init_real (error=0xbfffef58) at ./clutter-main.c:132
#11 0x008a451d in g_option_context_parse () from /lib/libglib-2.0.so.0
#12 0x00164324 in clutter_parse_args () at ./clutter-main.c:1723
#13 clutter_init (argc=0xbfffefb0, argv=0xbfffefb4) at ./clutter-main.c:1774
#14 0x08048854 in main ()

regards,
~bhadraji.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]