Re: [gtk-list] Newbie Question/Problem
- From: "Jason A. Pfeil" <pfeil nu cs fsu edu>
- To: Gtk-List <gtk-list redhat com>
- Subject: Re: [gtk-list] Newbie Question/Problem
- Date: Thu, 15 Oct 1998 09:47:22 -0400 (EDT)
You need to link with the gtk+ libraries. Your compilation command line
should look like this:
gcc hello.c `gtk-config --cflags` `gtk-config --libs`
On Thu, 15 Oct 1998, Joshua Yambert wrote:
> Hello,
> I am having a problem compiling the Hello World program from the GTK
>
> tutorial. Whenever I try to compile Hello World I get an error message
> like:
> "/tmp/cca006931.o(.text+0x15a):undefined reference to 'gtk_main' ."
> What do I need to do to fix this? Is this a problem with gcc?
>
> Thank You
> Joshua Yambert
>
>
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
-------------------------------------------------------------------------------
Jason A. Pfeil, Computer Science Graduate Student 101 Carothers Hall
http://www.cs.fsu.edu/~pfeil C3527 University Center
pfeil@cs.fsu.edu (850)644-8014
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]