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

RE: glib headers



On 28-Jul-99 nlp3 cornell edu opined:
> I have this problem: my glib.h is in
> 
> /usr/local/include/glib.h
> 
> and my glibconfig.h is 
> 
> /home/local/lib/glib/include/glibconfig.h
> 
> yet I cannot compile a program.... I get the following errors:
> 
> [root localhost temp]# g++ test.cc
> In file included from /usr/include/gdk/gdktypes.h:33,
>                  from /usr/include/gdk/gdk.h:31,
>                  from /usr/include/gtk/gtk.h:31,
>                  from test.cc:3:
> /usr/local/include/glib.h:66: glibconfig.h: No such file or directory

Try copying, linking or moving glibconfig.h to
/usr/lib/glib/includeglibconfig.h and see what happens. That's where
mine is and it works.

> well I checked the glib-config and here are the results:
> 
> 
> [root localhost glib-1.2.3]# glib-config --libs
> -L/usr/local/lib -lglib
> 
> [root localhost glib-1.2.3]# glib-config --cflags
> -I/usr/local/lib/glib/include -I/usr/local/include
    /\/\/\/\/\/\/\/\/\/\/\/\/\/\

This is why you should try the above suggestion.

---
  Last week I went to Philadelphia. It was closed.



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