Hi. Programs compiled with wxhaskell do not display for me at all. I am using wxhaskell 0.10.3, wxgtk 2.8.7, gtk 2.12.9, and ghc 6.8.2. I Installed wxhaskell from source, and compiling/running the sample programs provided yields the following three messages:
(process:6305): GLib-GObject-CRITICAL **: gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function
(process:6305): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:6305): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
Is there anything else I can do to help troubleshoot this?
Logged In: YES
user_id=242465
Originator: NO
Hi there. Thanks for the report!
Unfortunately, our wxWidgets 2.8 support is working yet, so you'll have to use wxgtk 2.6.x.
Sorry for that. We're making this a top priority for wxhaskell 0.11.
I'm going to mark this as closed, but please do let us know if you run into any trouble.
Logged In: YES
user_id=1740675
Originator: YES
All right, thank you. I guess I didn't read the documentation carefully enough. It's working fine with wxgtk-2.6.
Speaking as a user: I tried installing wxcore 0.10.5 on Ubuntu Gutsy Gibbon with wxGTK 2.8 (not 2.6 because 0.10.5 has its own dependencies), but I got the same error message as piojo_. Downgrading to both wxGTK 2.6 and wxcore 0.10.3 worked.
I am getting this same issue with wxgtku 2.8 with wxhaskell 0.11.0, even though the wiki seems to specifically state that wxhaskell 0.11 not only supports but more or less *requires* 2.8 rather than 2.6.