DirectFB - Home of the pragmatist Roadmap


[directfb-dev] Re: Some basic DirectFB questions
Mailing List archive

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

[directfb-dev] Re: Some basic DirectFB questions



Hello Sven,

> uhmm, my fault. I thought I had run autoconf before building the
> package. configure.in is correct, so running autoconf should fix
> this problem.

Ok.

> > Perhaps this is a silly question, but after actually
> > compiling the whole stuff -- where can I find a working
> > demo program that uses this now?
> 
> there are demos distributed with GTK+ and these are also included
> in our package. Check the demos and tests directories.

The "problem" is, that all demos are compiled and linked against
the existing X11 GTK+ libraries that where installed with
my system, but not against the new GTK+ libraries of
your modified version... 8-/

So I always get the X11 versions of "helloworld" and others.

Ok, but I tried to compile and link the "helloworld" example
with this by hand:

[root@michael examples]# cd helloworld
[root@michael helloworld]#  gcc helloworld.c -o helloworld -ldirectfb
-lgdk_pixbuf-1.3 -lgtk-directfb-1.3 -lgdk-directfb-1.3 -rdynamic
-lgmodule-1.3 -lglib-1.3 -ldl -lm -I/usr/local/include/gtk-2.0/
-I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include/
-I/usr/include/atk-1.0/ -I/usr/include/pango-1.0/
-I/usr/local/lib/gtk-2.0/include/ 

This works, but unfortunately the program does not run, showing
this error message:

-------------------schnipp-----------------------------------
[root@michael helloworld]# ./helloworld 

       ----------------------- DirectFB v0.9.2 ---------------------
                (c)2000  convergence integrated media GmbH  
        -----------------------------------------------------------

(*) Single Application Core. (with MMX support)
(*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media
GmbH)
(*) DirectFB/InputDevice: PS/2 Mouse 0.9 (convergence integrated media
GmbH)
(*) MMX detected and enabled

(*) DirectFB/GfxCard: Matrox 0.3 (convergence integrated media GmbH)

Gtk-Message: YOU ARE USING THE DEVEL BRANCH 1.3.x OF GTK+ WHICH IS
CURRENTLY
                UNDER HEAVY DEVELOPMENT AND FREQUENTLY INTRODUCES
INSTABILITIES.
                if you don't know why you are getting this, you probably
want to
                use the stable branch which can be retrived from
                ftp://ftp.gtk.org/pub/gtk/v1.2/ or via CVS with
                cvs checkout -r glib-1-2 glib; cvs checkout -r gtk-1-2
gtk+

** WARNING **: No fonts found by pangft2. Things will probably not work

** WARNING **: Didn't read any pango ft2 fontalias file. Things will
probably not work.


** WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10"

** WARNING **: Couldn't load font "Sans 10" falling back to "Sans 10"

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed


GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

GRuntime-WARNING **: invalid cast from (NULL) pointer to `GObject'

GRuntime-CRITICAL **: file gobject.c: line 1241 (g_object_unref):
assertion `G_IS_OBJECT (object)' failed

** CRITICAL **: file pango-context.c: line 666 (fallback_engine_shape):
assertion `font != NULL' failed

** ERROR **: file shape.c: line 57 (pango_shape): assertion failed:
(glyphs->num_glyphs > 0)
aborting...
(!) --->  CAUGHT SIGNAL 5  <---
-------------------schnapp-----------------------------------

Perhaps I should note that I installed "pango",
"pkgconfig" et al. from the official gtk-website,
which had several pre-build binaries for
RedHat 7.1:

-rw-r--r--    1 root     root        34369 Mai  5 08:09
atk-0.1-1.i386.rpm
-rw-r--r--    1 root     root        17812 Mai  5 08:09
atk-devel-0.1-1.i386.rpm
-rw-r--r--    1 root     root       307863 Mai  5 08:09
glib2-1.3.5-1.i386.rpm
-rw-r--r--    1 root     root       608482 Mai  5 08:09
glib2-devel-1.3.5-1.i386.rpm
-rw-r--r--    1 root     root      1603149 Mai  5 08:09
gtk2-1.3.5-1.i386.rpm
-rw-r--r--    1 root     root      1475716 Mai  5 08:09
gtk2-devel-1.3.5-1.i386.rpm
-rw-r--r--    1 root     root       334315 Mai  5 08:09
pango-0.16-1.i386.rpm
-rw-r--r--    1 root     root       251604 Mai  5 08:09
pango-devel-0.16-1.i386.rpm
-rw-r--r--    1 root     root        37186 Mai  5 08:38
pkgconfig-0.5.0-1.i386.rpm

> DirectFB only supports a single application at the moment.
> This app can be multi-threaded and it can open multiple windows.
> The window decorations you see on the screenshots are provided
> by GTK+ and were added for the linuxfb port of GDK.

Ok, I already 

> Salut, Sven

CU
Michael.




-- 
Info:  To unsubscribe send a mail to listar@directfb.org with 
"unsubscribe directfb-dev" as subject.



Home | Main Index | Thread Index


directfb.org / Development / Old Archives