Hi, I recompiled libglade for directfb, changed the configure.in of the libglade and added libcairo.la under the libcairo of directfb. I still have a problem with the colormap using gtk: the colors appearing on the screen are quite different from their names (e.g. the "grey" color is not grey at all).
How can I change/restore the colormap ? Does exist any directfb setting ? Regards Michael Attilio Fiandrotti wrote: > IIRC, libglade has no special prerequisites > > [EMAIL PROTECTED]:~/gtkdfb/src/libglade-2.6.0$ objdump -x > ./glade/.libs/libglade-2.0.so|grep NEED > NEEDED libxml2.so.2 > NEEDED libgtk-directfb-2.0.so.0 > NEEDED libgdk-directfb-2.0.so.0 > NEEDED libatk-1.0.so.0 > NEEDED libgdk_pixbuf-2.0.so.0 > NEEDED libm.so.6 > NEEDED libpangocairo-1.0.so.0 > NEEDED libpango-1.0.so.0 > NEEDED libcairo.so.2 > NEEDED libgobject-2.0.so.0 > NEEDED libgmodule-2.0.so.0 > NEEDED libdl.so.2 > NEEDED libglib-2.0.so.0 > NEEDED libc.so.6 > VERNEED 0x4ae4 > VERNEEDNUM 0x1 > > so i think you'll just need to recompile against gtkdfb istead of > gtkx11: please refer to the official gtkdfb wiki page > > http://www.directfb.org/wiki/index.php/Projects:GTK_on_DirectFB > > regards > > Attilio > > Michael Trimarchi wrote: > >> Hi all, >> I have the same problem, but a want to create a deb package for >> glade-directfb. I'm using scratchbox as enviroment. Can you send me the >> steps to recompile all? >> Regards Michael >> >> Attilio Fiandrotti wrote: >> >> >>> Vern Sun wrote: >>> >>> >>> >>>> I get the following error message while linking to libglade-2.0: >>>> [~]$ gcc -o glade_hello hello.c `pkg-config gtk+-directfb-2.0 >>>> libglade-2.0 --cflags --libs` >>>> /usr/bin/../lib/libgdk-x11-2.0.so.0: undefined reference to >>>> `cairo_xlib_surface_create_for_bitmap' >>>> /usr/bin/../lib/libgdk-x11-2.0.so.0: undefined reference to >>>> `cairo_xlib_surface_create' >>>> /usr/bin/../lib/libgdk-x11-2.0.so.0: undefined reference to >>>> `cairo_xlib_surface_set_size' >>>> collect2: ld returned 1 exit status >>>> >>>> Any idea about to solve this? >>>> Thanks >>>> >>>> >>>> >>> You'll need to recompile libglade against gtk+-directfb and and >>> cairo-directfb packages, the process should be painless (i already did >>> it once). >>> >>> regards >>> >>> Attilio >>> >>> _______________________________________________ >>> directfb-users mailing list >>> [email protected] >>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users >>> >>> >>> >> >> > > > _______________________________________________ > directfb-users mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
