More GTK problems
I used this tutorial to install GTK:
http://developer.gnome.org/doc/API/2...-building.html Except I used make -v instead of make, and installed every other requirement in the same directory, /opt/gtk The problem is, in /opt/gtk, there is nothing. And when i compile using the line: gcc -o main -Wall -g main.c `pkg-config gtk+-2.0 --cflags --libs `-I/usr/include/libglade-2.0 -lglade-2.0 or gcc main.c -o main `pkg-config --cflags --libs gtk+-2.0` I get this as an error message... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found Any help would be greatly appreciated |
What do you get if you do a echo $PKG_CONFIG_PATH
|
My PKG_CONFIG_PATH is /opt/gtk/lib/pkgconfig when I echo
|
All times are GMT -5. The time now is 02:33 AM. |