Re: example in the gtkmm 3 docs is not working



Replace "auto" with "Glib::RefPtr<Gtk::Application>".

Then it works...

jim...

On 16-03-25 08:20 PM, Peter Wiehe wrote:
Hello!


The example in the gtkmm 3 docs is not working:


https://developer.gnome.org/gtkmm-tutorial/stable/sec-basics-simple-example.html


g++ says:

'app' does not name a type


I use:

Ubuntu 15.10

g++ (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010


I downloaded and installed gtkmm and prerequisites today via

"apt-get install libgtkmm-3.0-dev"


Is it a mistake in the example or what can I do to solve this?


Greetings

Peter
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]