Re: GNOME 1.x and 2.0 interoperability issues



Sander Vesik <Sander Vesik Sun COM> writes: 
> Well, if you look at the errors, orbit.h and oaf.h are coming from
> /usr/include while as I gather from the rest of your mail, gnome-2.0
> things went into /opt/gnome2
> 
> Orbit and oaf inteerfaces changed - you need to make sure the relevant
> paths go to the include list and get included (it should happen, not sure
> why not in your case).

GTK 1.2 used to install to includedir/gtk/gtk.h, 
and GTK 2.0 to includedir/gtk-2.0/gtk/gtk.h. 

So if you did #include <gtk/gtk.h> you would frequently accidentally
get GTK 1.2.

We had to do an update release of GTK 1.2 moving the headers:
 includedir/gtk-1.2/gtk/gtk.h
 includedir/gtk-2.0/gtk/gtk.h

Then you always get what pkg-config specifies (-I includedir/gtk-2.0)

Other libs will need to do the analagous change if they haven't.

Havoc




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