Re: [gtkmm] please help me compile helloworld.cc



Hi, just reinstalled pkg-config, but it doesn't know about libgtkmm; how can i tell it about it? I've set : export PKG_CONFIG_PATH=/usr/lib and here's the relevant
output of a "locate" on libgtkmm:

/usr/lib/libgtkmm-1.2.so.0.3.4
/usr/lib/libgtkmm-1.2.so.0
/usr/lib/libgtkmm.a
/usr/lib/libgtkmm.la
/usr/lib/libgtkmm.so

When run through "configure" it suggests i point to where the ".pc" (?) file
is located, but the cdrom install of gtkmm didn't put a .pc file anywhere, so that isn't gonna work....thanks for your help with this....i'm still holding out
hope to become a loyal gtkmm user...
Charlie

Dale Hirt wrote:

Do you have pkgconfig installed? It is there to make your life extremely
easier.

g++ -DPACKAGE=\"hello\" -DVERSION=\"1.0\" `pkgconfig --cflags gtkmm-2.0`  -c
helloworld.cc
g++ -o hello helloworld.o -rdynamic `pkgconfig --libs gtkmm-2.0` -L/usr/lib
-L/usr/X11R6/lib -ldl -lXi -lXext -lX11 -lm -lpthread






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