Hi,

here you can find a very simple hello world using glade and autotools
(autotools from mighty http://www.openismus.com/):

http://code.google.com/p/giuspen-gtkmm3-glade-hello-world-autotools/source/checkout

it's just a button and when you click prints on the terminal.

Cheers,
Giuseppe.



On Sun, Oct 7, 2012 at 1:28 PM, Dmitry Kruglov <[email protected]> wrote:

>
> Please help me. Demo project not work.
>
> "/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS=
> .build-conf
> make[1]: Вход в каталог `/home/dimka/MyProject/glade2'
> "/usr/bin/make" -f nbproject/Makefile-Debug.mk
> dist/Debug/GNU-Linux-x86/glade2
> make[2]: Вход в каталог `/home/dimka/MyProject/glade2'
> mkdir -p build/Debug/GNU-Linux-x86
> rm -f build/Debug/GNU-Linux-x86/main.o.d
> g++ `pkg-config gtkmm-2.4 --cflags --libs` -c -g -MMD -MP -MF
> build/Debug/GNU-Linux-x86/main.o.d -o build/Debug/GNU-Linux-x86/main.o
> main.cpp
> main.cpp: In function 'int main(int, char**)':
> main.cpp:22: error: 'Application' is not a member of 'Gtk'
> main.cpp:22: error: 'Application' is not a member of 'Gtk'
> main.cpp:22: error: template argument 1 is invalid
> main.cpp:22: error: invalid type in declaration before '=' token
> main.cpp:22: error: 'Gtk::Application' has not been declared
> main.cpp:58: error: base operand of '->' is not a pointer
> make[2]: *** [build/Debug/GNU-Linux-x86/main.o] Ошибка 1
> make[2]: Выход из каталога `/home/dimka/MyProject/glade2'
> make[1]: *** [.build-conf] Ошибка 2
> make[1]: Выход из каталога `/home/dimka/MyProject/glade2'
> make: *** [.build-impl] Ошибка 2
>
> project attached.
>
>
> --- оригинальное сообщение ---
> От: Florian Philipp <[email protected]>
> Дата: 01.10.2012 00:48:55
> Кому: Gtkmm list <[email protected]>
> Тема: Re: simple project Gtkmm + Glade
>
> > Am 30.09.2012 18:02, schrieb Dmitry Kruglov:
> > > --- оригинальное сообщение ---
> > > От: Florian Philipp <[email protected]>
> > > Дата: 30.09.2012 15:23:40
> > > Кому: [email protected]
> > > Тема: Re: simple project Gtkmm + Glade
> > >
> > >> Am 30.09.2012 04:31, schrieb [email protected]:
> > >>> Hi all.
> > >>>
> > >>> Please get me link (or prject) simple project Gtkmm + Glade.
> > 1 button
> > >>
> > >>> and 2 edit box. After down button read edit box1 and write to
> > edit
> > >>> box 2.
> > >>>
> > >>
> > >> Do you know the official tutorial?
> > >>
> http://developer.gnome.org/gtkmm-tutorial/unstable/chapter-builder.html
> >
> > >>
> > >>
> > >>> I'm doing the first steps in programming Gtkmm. I also wanted
> > to
> > >>> know:
> > >>>
> > >>> 1. Directory of all functions GtkMM detailing.
> > >>
> > >> You mean the API documentation? Look here:
> > >> http://developer.gnome.org/gtkmm/stable/
> > >>
> > [...]
> > >>
> > >> Regards,
> > >> Florian Philipp
> > >>
> > >
> > >
> > > Thank you.
> > >
> > > This gtkmm 3 or gtkmm2.4? I need gtkmm2.4.
> > >
> > > Thank you again.
> > > Best regards, Dmitry.
> > >
> >
> > Please keep the discussion on-list.
> >
> > I cannot find a link to a 2.x version of the documents right now. Maybe
> > someone else can.
> >
> > I'm using 2.4 myself and never had a problem using the newer
> > documentation. The API docs usually mention when something was added in
> >
> > 2.2 or later.
> >
> > Regards,
> > Florian Philipp
> >
> >
> > _______________________________________________
> > gtkmm-list mailing list
> > [email protected]
> > https://mail.gnome.org/mailman/listinfo/gtkmm-list
> >
>
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to