el error que me da es:
Código:
el codigo C de mi apli es:elliotmoso@elliotmoso-laptop:~/Progs/C/Solardat-GTK$ ./solardat GLib-ERROR **: /build/buildd/glib2.0-2.22.3/glib/gmem.c:136: failed to allocate 4294967276 bytes aborting... Cancelado
Código C:
Ver original
#include <gtk/gtk.h> int main( int argc, char **argv ) { GtkBuilder *builder; GtkWidget *window; gtk_init( &argc, &argv ); /* Create builder and load interface */ builder = gtk_builder_new(); gtk_builder_add_from_file( builder, "solardat.builder", NULL ); /* Obtain widgets that we need */ window = GTK_WIDGET( gtk_builder_get_object( builder, "window1" ) ); /* Destroy builder */ g_object_unref( G_OBJECT( builder ) ); /* Show main window and start main loop */ gtk_widget_show( window ); gtk_main(); return( 0 ); }
Les agradezco mucho su ayuda
Un saludo
Elliot