Re: No package 'gtkmm-2.4' found

2005-11-01 Thread Aaron Walker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kathrin Hauptvogel wrote:
 Good morning at all.
 
 I have a question because I can't compile the hello world example from this 
 site. 
 After entering this command
 
 # g++ main.cc -o main `pkg-config gtkmm-2.4 --cflags --libs`
 
 this text is standing on my console. 

snip

 Perhaps you should add the directory containing `gtkmm-2.4.pc'
 to the PKG_CONFIG_PATH environment variable

There's your answer.  Set that env var to the directory containing the
pkg-config file.  IIRC the file is generated from glibmm-2.4.pc.in when you run
configure.

- --
Aaron Walker [EMAIL PROTECTED]
[ BSD | commonbox | cron | cvs-utils | mips | netmon | shell-tools | vim ]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDZ4JhC3poscuANHARAmd2AKDg3ZJtDkCNO/3OYHS4ZFLOe9gwFgCgou9i
0sS7yPpIpw/B17t6SiVXVNE=
=SfRy
-END PGP SIGNATURE-
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


problems with Glib::locale_from_utf8

2005-04-25 Thread Aaron Walker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greetings,

I'm using libxml++ (which uses glibmm) to parse some XML, but am getting aborts
every time my parser class calls it's on_characters callback and tries to
display a word with a utf8 character.

#6  0xb7e2d298 in Glib::ConvertError::throw_func (gobject=0x805f908)
at convert.cc:305
#7  0xb7e38fe4 in Glib::Error::throw_exception (gobject=0x805f908)
at error.cc:174
#8  0xb7e2ca7f in Glib::locale_from_utf8 ([EMAIL PROTECTED])
at convert.cc:192
#9  0xb7e49b9f in Glib::operator ([EMAIL PROTECTED], [EMAIL PROTECTED])
at ustring.cc:1202
#10 0x0804999e in XMLParser::on_characters (this=0xb120, [EMAIL PROTECTED])
at test.cc:32

Looks like locale_from_utf8 throws an exception if g_locale_from_utf8 returns
an error (specifically G_CONVERT_ERROR_ILLEGAL_SEQUENCE).  I thought maybe my
utf8 setup was borked but I've got several other folks with supposedly working
utf8 setups who were able to reproduce.  This is probably more of a gtk-list
question but I figured I'd ask here first.

Anyone have an idea why this would be happening?

Thanks
- --
Kent's Heuristic:
Look for it first where you'd most like to find it.

Aaron Walker [EMAIL PROTECTED]
[ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCbQXWC3poscuANHARAuNGAKCP8fQfVYB2QGlWxeYviR/wm8xHMQCfQnK9
r62Hah3WcbisPKlPCWrCLgA=
=20ng
-END PGP SIGNATURE-
___
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list