Have just started developing for BBB, and have written the most basic GTK
application:
#include <gtk/gtk.h>
int main( int argc, char *argv[])
{
GtkWidget *window;
gtk_init(&argc, &argv);
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_show(window);
gtk_main();
return 0;
}
which I've compiled and linked successfully with
gcc -o simple simple.c `pkg-config --libs --cflags gtk+-2.0`
However, when I run from either the terminal or Gnome, all I get is a locked-up
white square in the top left corner of the screen. What am I doing wrong?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.