RE: [gtkmm] Compling the tutorial with pkg-config libs



> > > I have manually over written the output of "pkg-config gtkmm-2.0 
> > > --libs" to -Wl,--export-dynamic
> -L/usr/local/lib
> > > /usr/lib/libgtkmm-2.0.so /usr/lib/libgdkmm-2.0.so 
> > > /usr/lib/libatkmm-1.0.so -lgtk-x11-2.0 /usr/lib/libpangomm-1.0.so 
> > > /usr/lib/libglibmm-2.0.so -lsigc-1.2 -lgdk-x11-2.0 -latk-1.0 
> > > -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
> > > -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> >
> > Did you change something, or is that exactly what
> pkg-config outputs?
> 
> Yes I changed the reference to the gtkmm libraries.
> "pkg-config gtkmm-2.0 --libs" returns 
> -Wl,--export-dynamic -L/usr/local/lib -lgtkmm-2.0
> -lgdkmm-2.0 -latkmm-1.0 -lgtk-x11-2.0 -lpangomm-1.0 
> -lglibmm-2.0 -lsigc-1.2 -lgdk-x11-2.0 -latk-1.0 
> -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
> -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

So, pkg-config thinks that it is installed in /usr/local, but you think it
is installed in /usr. Did you already have some version of gtkmm installed.
It looks like you did.

Do you have a gtkmm pkg-config file in /usr/local/lib/pkgconfig and also in
/usr/lib/pkgconfig?

Murray Cumming
www.murrayc.com
murrayc usa net



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