Re: Couldn't link my app with GTK+ 3

2011-02-01 Thread Jaroslav Šmíd
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/ ./configure pkg-config used in confugure script will use glib-2.0.pc from that location. PKG_CONFIG_PATH should point to your new glib's ${libdir}/pkgconfig/ Your old glib doesn't seem to have functions/symbols used in gtk-3 and you will need to use

Re: Couldn't link my app with GTK+ 3

2011-01-31 Thread Mike
于 2011年01月31日 16:56, David Nečas 写道: On Mon, Jan 31, 2011 at 04:03:04PM +0800, Mike wrote: OS: Fedora 14 x86_64 GCC: 4.5.1 20100924 I have a app project, use GTK+2. I want to move it to GTK+3. So I git clone latest glib. Compiled them. (I use GTK3 in mirror, not compile by myself) Does pkg-con

Re: Couldn't link my app with GTK+ 3

2011-01-31 Thread David Nečas
On Mon, Jan 31, 2011 at 04:03:04PM +0800, Mike wrote: > OS: Fedora 14 x86_64 > GCC: 4.5.1 20100924 > > I have a app project, use GTK+2. > I want to move it to GTK+3. > So I git clone latest glib. > Compiled them. > (I use GTK3 in mirror, not compile by myself) Does pkg-config know about the new G