Re: gtkmm Hello World compile problem
- From: John Spray <jcspray icculus org>
- To: gtkmm-list gnome org
- Subject: Re: gtkmm Hello World compile problem
- Date: Sat, 30 Dec 2006 12:36:54 +0100
On Fri, 2006-12-29 at 23:24 -0400, Zachary Berry wrote:
> Since that worked I went ahead and got gtkmm (I'm running ubuntu so I
> used apt-get install libgtkmm-2.4-dev). That seemed to go ok, so I
> typed up a hello world example described here:
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch03.html).
> This is what I get back when I try to build it:
>
> blah$ g++ HelloWorld.cpp `pkg-config gtkmm-2.4 --cflags --libs`
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libgtkmm-2.4.so :
> undefined reference to `gtk_enumerate_printers'
Did you install GTK+ from the ubuntu repositories as well as gtkmm?
Sounds like there could be some kind of version mismatch which might be
the case if you'd installed one or other from some other source.
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]