Re: WHERE IS gtk/gtk.h



Try pkg-config.

 gcc -o foo foo.c `pkg-config --cflags gtk+-2.0` \
                  `pkg-config --libs gtk+-2.0`

Read the tutorial, section compiling at <http://www.gtk.org>

And try to write to _one_ list, dont do crossposting. Think about all the traffic.

Greez.

Maya wrote:
Using ANJUTA and the prompt, I am trying to compile the folowing program:
#include <gtk/gtk.h>
int main()
{
    return(0);
}
But buth give me an error saying that the "gtk/gtk.h" file could not be found?

I have tried doing some modifications on './profile', but to no avail.
Hoping that someone here will be able to tell me what I am doing wrong I have attached the './profile'. Please do have a look at it and tell me what am doing wrong.
TIA


--
Simon Fuhrmann | NightSlayer gmx de | www.dismember.de




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