Hi Hez:

For my normal debian stable platform (i.e., with GTK+2 rather than the
GTK+3 used for the epa_build case) our build system currently builds
the example

examples/ocaml/xgtk_interfaceocaml

without build issues.  Also there appear to be no run-time loading
issues (as checked with "ldd -r).

But when I tried to run that example from examples/ocaml I get the
following error messages:

software@raven> ./xgtk_interfaceocaml

(process:22561): GLib-GObject-WARNING **: invalid (NULL) pointer
instance

(process:22561): GLib-GObject-CRITICAL **: g_signal_connect_data:
assertion G_TYPE_CHECK_INSTANCE (instance)' failed

(process:22561): Gtk-WARNING **: Screen for GtkWindow not set; you
must always set
a screen for a GtkWindow before using the window

(process:22561): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap:
assertion GDK_IS_SCREEN (screen)' failed

(process:22561): Gdk-CRITICAL **: IA__gdk_colormap_get_visual:
assertion GDK_IS_COLORMAP (colormap)' failed

(process:22561): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap:
assertion GDK_IS_SCREEN (screen)' failed

(process:22561): Gdk-CRITICAL **: IA__gdk_screen_get_root_window:
assertion GDK_IS_SCREEN (screen)' failed

(process:22561): Gdk-CRITICAL **: IA__gdk_screen_get_root_window:
assertion GDK_IS_SCREEN (screen)' failed

(process:22561): Gdk-CRITICAL **: IA__gdk_window_new: assertion
GDK_IS_WINDOW (parent)' failed
Segmentation fault

This example was committed 4.5 years ago (with no changes since) with the 
message:
------------------------------------------------------------------------
r10500 | hezekiahcarty | 2009-09-30 12:39:01 -0700 (Wed, 30 Sep 2009) | 5 lines

Add CMake logic to build Plcairo examples; Add first Plcairo example

This example illustrates a simple use of PLplot + OCaml + Cairo + Gtk to
display plot output in a GUI window.
------------------------------------------------------------------------

It is obviously less than ideal if something we build cannot be run. I
suspect this example used to run OK 4.5 years ago, but it needs some
maintenance now to make it work properly with all the GTK+2 changes
made since. If you confirm the above run-time issue, would you be
willing to do that needed maintenance?

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to