problems in compiling wxGTK
HI, I try to compile wxGTK (wxWidget).
I download GTK 2.10.3 source, compile,and installed it.
I noticed it was put in /usr/local/lib.
When I run ./configure --with-gtk in wxGTK, it complained the
following errors
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
I have the same gtk+-2.0.pc file under /usr/local/lib/pkgconfig and /usr/lib/pkgconfig. I do not know why wxGTK can not find it.
thanks.
|