Re: [gtkmm] Re: Is Gtkmm stable and mature on Win32?
- From: "Murray Cumming" <murrayc murrayc com>
- To: Ney André de Mello Zunino <zunino inf ufsc br>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Re: Is Gtkmm stable and mature on Win32?
- Date: Thu, 30 Sep 2004 09:25:45 +0200 (CEST)
> The final step was trying to build a simple GUI using Glade. I did so
> and, at first, tried exporting it to C++ code
I advise you not to waste your time with generated code. If you want to do
that, please take it to the glademm list. Please note that glademm is not
libglademm - see the gtkmm manual for more help with libglademm.
[snip]
> g++ -o teste teste.cpp `pkg-config gtkmm-2.4 --cflags --libs`
>
> This gave me the error message: "can't find the 'libglademm.h' include
> file". By invoking pkg-config directly, I could see that there actually
> was no '-I' option for libglademm's include directory. Why is that?
Because libglademm is not part of gtkmm. Try adding libglademm-2.4 to your
pkg-config command. Try looking at other configure.in or configure.ac
files, or reading:
http://www.openismus.com/documents/linux/using_libraries/using_libraries.shtml
[snip]
> However, upon the first
> execution attempt, I got an error saying that I needed to call
> g_type_init() before the call in my main(). I did so, but then I was
> bombarded with tons of CRITICAL errors.
You need a Gtk::Main object. Please read the gtkmm book:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/index.html
and/or look at the libglademm examples (in the libglademm tarball),
instead of blindly trying to throw some code together.
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]