Re: compiling gtkmm with atkmm support fails in implementor.cc



> If GTKMM_ATKMM_ENABLED is defined when you build gtkmm, it must also be defined when you build the app

I have now triple checked the inclusion of headers, and you are correct, somehow I ended up by not using the modified gtkmmconfig.h
while testing simple apps. however gtkmm was built with modified header, that is with GTKMM_ATKMM_ENABLED

Now I ensured to use this header for testing development but the bug with "Atk implementor" is still there.

Thanks so much for letting me know about header inclusion, I completely misconfigured that :(

On Wed, Nov 18, 2015 at 9:18 AM, Kjell Ahlstedt <kjell ahlstedt bredband net> wrote:
Den 2015-11-18 kl. 09:05, skrev Kjell Ahlstedt:


Den 2015-11-17 kl. 21:52, skrev codekiddy:
Hey guys, Please note that this crash happens only to top level window!
Only Gtk::Window contains the Glib::RefPtr<Gtk::AccelGroup> accel_group_ which also seems to be involved in a way that I don't understand.

gtkmmconfig.h is not handled like other header files. It's created from gtkmmconfig.h.in by ./configure. When you use MSVC, you don't use configure, right? gtkmmconfig.h is stored under the gtkmm/MSVC_Net2013 directory in the git repository and in tarballs.
Sorry, not quite right. gtkmmconfig.h is stored under the MSVC_Net2013 directory in tarballs, but not in the git directory.
Does that mean that you use different copies of gtkmmconfig.h when you build gtkmm and when you build the app? If you do, it's important that they are identical. If GTKMM_ATKMM_ENABLED is defined when you build gtkmm, it must also be defined when you build the app.

Kjell



_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list




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