Re: [gtk-list] problems compiling simple stuff
- From: Nathan Froyd <maestrox geocities com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] problems compiling simple stuff
- Date: Tue, 28 Apr 1998 19:11:27 -0500
sar@on134th.com wrote:
> /tmp/cca036471.o: In function `main':
> /tmp/cca036471.o(.text+0xf): undefined reference to `gtk_init'
> /tmp/cca036471.o(.text+0x19): undefined reference to `gtk_window_new'
> /tmp/cca036471.o(.text+0x2a): undefined reference to `gtk_widget_show'
> /tmp/cca036471.o(.text+0x32): undefined reference to `gtk_main'
> make: *** [window] Error 1
Sounds like you need to add -lgtk -lgdk -lglib -L/location/of/gtk to the
command line.
Nathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]