On Tue, 2008-06-24 at 20:45 -0300, Marco Túlio Gontijo e Silva wrote: > Em Qua, 2008-06-25 às 00:36 +0100, Duncan Coutts escreveu: > > Sounds like you should try using libxul-embedding. Try the C test prog > > with: > > > > gcc test.c -o test `pkg-config --cflags --libs gtk+-2.0 libxul-embedding` > > I've tried that already, I get: > > test.c:1:25: error: gtkmozembed.h: Arquivo ou diretório não encontrado > test.c: In function ‘main’: > test.c:5: error: ‘GtkWidget’ undeclared (first use in this function) > test.c:5: error: (Each undeclared identifier is reported only once > test.c:5: error: for each function it appears in.) > test.c:5: error: ‘window’ undeclared (first use in this function) > test.c:5: error: ‘GTK_WINDOW_TOPLEVEL’ undeclared (first use in this > function) > test.c:6: error: ‘html’ undeclared (first use in this function) > > So I can't even build.
Edit test.c to add #include <gtk/gtk.h> before the #include <mozembed.h> line. Duncan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Gtk2hs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel
