Re: gtk 1.2 to 2.0



On 21 Jul 2002, Pablo Fischer wrote:

The new problems JUST when I want to compile like a normal user, are:

[unmada pablo GtK]$ gcc -Wall -g pixmap1.c -o pixmap `pkg-config
--cflags gtk+-2.0` `pkg-config --libs gtk+-2.0`
Package gtk+-2.0 was not found in the pkg-config search path.

As normal user do:

echo $PKG_CONFIG_PATH

If the result does not contain the directory where gtk+-2.0.pc is
located (which I'll call "GTKPCDIR"), then do:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:GTKPCDIR

after making the right substitution on "GTKPCDIR".

Allin Cottrell.






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