Re: [gtk-list] Newbie Question/Problem



On Thu, Oct 15, 1998 at 12:44:25AM -0700,
		Joshua Yambert wrote ...


>     I am having a problem compiling the Hello World program from the GTK
> "/tmp/cca006931.o(.text+0x15a):undefined reference to 'gtk_main' .

gcc -Wall -g hello_world.c -o hello_world `gtk-config --cflags --libs`

man gcc
gtk-config --help
glib-config --help
gnome-config --help

for more on this.


	Dominik.

--
Dominik Rothert

WWW: http://domix.rhein.com
E-Mail: domix@rhein.com
GPG Fingerprint: BB8F 7348 18AE 565F 6ABA  453F A964 3160 B20A 5726
PGP Fingerprint: 70 1C 59 75 D8 30 65 3F  FE 1E D8 B5 89 EA 4B 5A

PGP signature



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