Hi,

It's better to use DirectFB 1.0 instead of 0.9.25. Some people have got it
working on MIPS(AMD). Versions of different libraries are also important. A
good check can be to see whether the same set of libraries can be used
successfully to build GTK-DFB on x86.

Also, using pango-1.14.0 and GTK+-2.10.1 or above can be a good idea.

Regards,
Siddharth
TATA Elxsi
  -----Original Message-----
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of 刘挺
  Sent: Friday, May 11, 2007 2:06 PM
  To: pedro.aguilar
  Cc: directfb-dev
  Subject: [directfb-dev] GTK over DirectFB on MIPS processor


  Hello,

         I saw your bug report on
http://mail.directfb.org/pipermail/directfb-dev/2006-May/001854.html, which
I faced today almost the same.
         I want to setup GTK+ on a Philips PNX8550 MIPS processor which
supports DirectFB 0.9.25, so I follow a Wiki help doc from
http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB_for_Embedded
_Systems
  (is it written by you?) to do this. I downloaded those components and
followed the instructions strictly.
         Finally I compiled GTK+ successfully on MIPS, but when I run
gtk-demo, it crashes with the following msg:

  (gtk-demo:897): Pango-CRITICAL **: pango_cairo_font_map_create_context:
assertion `PANGO_IS_CAIRO_FONT_MAP (fontmap)' failed
  (gtk-demo:897): Pango-CRITICAL **: pango_cairo_context_set_font_options:
assertion `PANGO_IS_CONTEXT (context)' failed
  (gtk-demo:897): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion
`G_IS_OBJECT (object)' failed
  (gtk-demo:897): GLib-GObject-CRITICAL **: g_object_set_qdata_full:
assertion `G_IS_OBJECT (object)' failed
  (gtk-demo:897): Pango-CRITICAL **: pango_context_set_font_description:
assertion `context != NULL' failed
  ... ...
  (gtk-demo:897): Pango-CRITICAL **: pango_layout_get_extents: assertion
`layout != NULL' failed
  (gtk-demo:897): Pango-CRITICAL **: pango_layout_get_width: assertion
`layout != NULL' failed
  (#) DirectFBError [gdk_window_new: Layer->CreateWindow failed]: Invalid
argument!
  Gdk-DirectFB-ERROR **: file gdkwindow-directfb.c: line 405
(gdk_directfb_window_new): assertion failed: (0)
  aborting...
  (!) [  897:   15.480] --> Caught signal 5 (sent by pid 897, uid 0) <--
  (!) Direct/Thread: Killing 'Fusion Dispatch' (899)!
  Killed

         What do you think the problem is? Any help is appreciated.


----------------------------------------------------------------------------
--

  thomas liu
  2007-05-11
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to