On 10:54 Wed 24 May     , [EMAIL PROTECTED] wrote:

> if you're going to comiple a GTK app against GTKDFB libraries, then 
> you'll have to export the correct LD_LIBRARY_PATH and PKG_CONFIG_PATH 
> (as explained in the GTKDFB howto [1]) nbefore compiling.
> Then, you should be able to compile a simple GTK app with something 
> like
> 
> gcc ghello.c -o ghello `pkg-config --cflags <includes list, if needed> 
> --libs gtk+-directfb-2.0`
> 
> About Makefile configuration, i guess you'll have to set something 
> like GTK_LIB = GTK_DFB_LIB

Ok, as I was thinking.

But I have lots of errors during the compilation with :
- gtk_about_dialog_* 
- gtk_tool_button_new_*
- and some toolbar functions

exemple :
window.c:(.text+0xf0e): undefined reference to `gtk_combo_box_new_text'
window.c:(.text+0xf59): undefined reference to
`gtk_tool_button_new_from_stock'
window.c:(.text+0xf6a): undefined reference to
`gtk_tool_button_new_from_stock'
[....]
window.c:(.text+0x2860): undefined reference to
`gtk_about_dialog_get_type'
window.c:(.text+0x287f): undefined reference to
`gtk_about_dialog_set_name'
window.c:(.text+0x2884): undefined reference to
`gtk_about_dialog_get_type'
window.c:(.text+0x28a4): undefined reference to
`gtk_about_dialog_set_authors'
window.c:(.text+0x28a9): undefined reference to
`gtk_about_dialog_get_type'
window.c:(.text+0x28c9): undefined reference to
`gtk_about_dialog_set_artists'
[....]


friendly,
-- 
===========================================================
  ,''`.  Xavier Oswald <[EMAIL PROTECTED]>
 : :' :  GNU/LINUX Debian & Debian-Edu Contributor
 `. `'   GnuPG Key ID 0x88BBB51E 
   `-    938D D715 6915 8860 9679  4A0C A430 C6AA 88BB B51E
===========================================================


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to