Re: [gtk-list] Re: Call to g_print() causes Seg Fault



> What next?

It's definately not your program to blame. I can compile and run it:

gershwin [blacka] gcc `gtk-config --cflags --libs` c.c
gershwin [blacka] ./a.out 
Hello World
^C

I get an empty 200x200 window.

MUST be something to do with the libs on your system.

Does this work:

	/* example-start base base.c */

	int main( int argc, char *argv[] )
	{
	  g_print ("Hello World\n");
	  return (0);
	}

	/* example ends here */

???

Allan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]