Re: Trouble with create_cairo_context
- From: "Paul Davis" <pjdavis engineering uiowa edu>
- To: "Charl -" <turingbirds gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Trouble with create_cairo_context
- Date: Mon, 7 May 2007 12:01:01 -0500
Charl,
It sounds like your executable is trying to link against the wrong
version of the library. Did you use something like jhbuild to build
the new versions? If so, you can use
$ jhbuild shell
To start a shell that has all the proper environment variables set for
using the newwer version of the libraries, otherwise you'll need to
set these variables by hand.
Paul
On 5/7/07, Charl - <turingbirds gmail com> wrote:
Hello everyone,
I am having some trouble with cairo_create_context(). I am trying to
compile a demo program from the gtkmm tutorial at:
http://www.gtkmm.org/docs/gtkmm-2.4/examples/book/drawingarea/simple/
I have installed the latest version of gtkmm: 2.10.10, because I know
that this function has not been around for very long.
Compiling using:
g++ main.cc myarea.cc `pkg-config gtkmm-2.4 --libs --cflags`
`pkg-config cairo --libs --cflags`
goes well, but when I try to run the program, I get the error:
./a.out: symbol lookup error: ./a.out: undefined symbol:
_ZN3Gdk8Drawable20create_cairo_contextEv
Using ldd, I verified that the OS can find the cairo and libgtkmm
libraries. What am I doing wrong? I have compiled all of the gtk
dependencies from source, because the Debian packages are quite
outdated.
Thanks in advance,
Charles
PS. Sorry if this is a repost, I had some trouble posting.
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]