[Top][All Lists]

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

Re: GTK+ appliations on KD3 (newbie question)

From: RKS
Subject: Re: GTK+ appliations on KD3 (newbie question)
Date: 15 Jun 2006 17:44:50 -0700
User-agent: G2/0.2

hi Henrik
thanks a lot for your reply. I managed to compile a simple program
creating and showing a Window. The reason for the errors was because I
missed a  '-' (minus) in the pkg-config command which adds the I and L
options ( I had typed pkg-config -cflags missing a '-' and of course
rest of the command too).
Sorry I was stupid and not careful. Hope this posting will be useful to
someone like me.
thanks anyway.

Henrik Carlqvist wrote:
> "RKS" <> wrote:
> > I have a KDE3 desktop environment on Suse Linux 9.1. I have also
> > installed GTK-2.0. I am trying to develop gtk applications on KDE3. But
> > I ran into problems trying to compile a simple file. All it has is
> > "include <gtk/gtk.h>" (and an empty main function). The header file is
> > present and gcc is able to find it. Yet there are more than 200 errors
> > all related to parsing.
> >
> > I used
> > gcc filename.c -o filename `pkg-config -cflags -libs` command.
> I guess that should be something like:
> gcc filename.c -o filename `pkg-config gtk+-2.0 --cflags --libs`
> > My question is 1) Can I actually run gtk applications on KDE3.
> Yes.
> >                2) Am i missing some package required.
> I can't say for sure as I have no experience from Suse and you didn't post
> your errors. Usually, when compiling C, only the first errors are
> interesting.
> regards Henrik
> --
> The address in the header is only to prevent spam. My real address is:
> hc8(at) Examples of addresses which go to spammers:
> root@localhost

reply via email to

[Prev in Thread] Current Thread [Next in Thread]