Re: gtk application compile error



hi Neumann ....

below is what pkginfo reports me.

# pkginfo -l SMCgtk+
   PKGINST:  SMCgtk+
      NAME:  gtk+
  CATEGORY:  application
      ARCH:  sparc
   VERSION:  1.2.10
   BASEDIR:  /usr/local
    VENDOR:  GTK Group
    PSTAMP:  Steve Christensen
  INSTDATE:  Feb 04 2003 10:00
     EMAIL:  steve smc vnet net
    STATUS:  completely installed
     FILES:    647 installed pathnames
                 8 shared pathnames
               134 directories
                44 executables
             64165 blocks used (approx)

#

It is 1.2.10.  But just for hanging around when i try , it gives me a long
list of err messgages (so long that i can't paste it here) indicating that
so many files are not found (most of them were *.h).

so i am still in dark,
plz help
Raheel.


----- Original Message -----
From: "Sven Neumann" <sven gimp org>
To: "Raheel" <raheel khan hotpop com>
Cc: <gtk-list gnome org>
Sent: Monday, February 24, 2003 2:57 PM
Subject: Re: gtk application compile error


> Hi,
>
> "Raheel" <raheel khan hotpop com> writes:
>
> > I have written a very basic program using gtk_widgets.
> > And tried the command line switches. Below is what i got when try to
> >  compile:
> >
> >  #  gcc -Wall wind.c -o wind.o 'gtk-config --libs --cflags'
>
> are you perhaps using gtk+-2.x (you really should do) ? If so, you
> will want to use the following line instead:
>
>  gcc -Wall wind.c -o wind.o 'pkg-config --libs --cflags gtk+-2.0'
>
> See http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html
>
>
> Salut, Sven





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