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. Ramesh.K
Henrik Carlqvist wrote: > "RKS" <[EMAIL PROTECTED]> 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)uthyres.com Examples of addresses which go to spammers: > [EMAIL PROTECTED] [EMAIL PROTECTED] _______________________________________________ help-gnu-utils mailing list help-gnu-utils@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-utils