Hi Hez:

I have been working with xgtk_interfaceocaml in preparation for making
this application one of the interactive tests that we run.

It builds automatically and without any errors for me when BUILD_TEST=ON in
the build tree.  That good result continued after some CMake code cleanup
(revision 10855). However, I had to propagate (revision 10856) some
additional variables to the build-system for the installed examples in order
to get the same good build result there for this special ocaml example.

How should this example be run?

I have attached the results of

./xgtk_interfaceocaml >& xgtk_interfaceocaml.out

which show lots of errors, but that might not be the right way to run that
application.  That's the build-tree result, and I also get similar run-time
errors (starting with the same invalid (NULL) pointer instance) in the
installed examples case as well.

In case I am running it correctly, and therefore there is some run-time
issue for my platform, here is some additional data.

I have liblablgtk2-ocaml-dev version 2.10.1-2 from Debian Lenny installed.


softw...@raven> grep -i ocaml cmake.out
-- OCAMLC = /usr/bin/ocamlc.opt
-- OCAMLMKLIB = /usr/bin/ocamlmklib
-- OCAMLOPT = /usr/bin/ocamlopt.opt
-- OCAMLFIND = /usr/bin/ocamlfind
-- OCAML_LIB_PATH = /usr/lib/ocaml/3.10.2
-- CAMLIDL_LIB_DIR = /usr/lib/ocaml/3.10.2
-- Cairo OCaml library found
-- lablgtk2 OCaml library found
ENABLE_ocaml:           ON              ENABLE_lua:             ON

softw...@raven> grep -i ocaml CMakeCache.txt CAMLIDL_LIB_DIR:PATH=/usr/lib/ocaml/3.10.2
//Enable OCaml bindings
ENABLE_ocaml:BOOL=ON
OCAMLC:FILEPATH=/usr/bin/ocamlc.opt
OCAMLFIND:FILEPATH=/usr/bin/ocamlfind
OCAMLMKLIB:FILEPATH=/usr/bin/ocamlmklib
OCAMLOPT:FILEPATH=/usr/bin/ocamlopt.opt
//install location for ocaml files
OCAML_INSTALL_DIR:PATH=/home/software/plplot_svn/installcmake/lib/ocaml/3.10.2

I hope you can help me either to (a) run the example correctly or
(b) figure out the run-time errors if I am running it correctly.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________
(process:29475): GLib-GObject-WARNING **: invalid (NULL) pointer instance

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

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

(process:29475): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion 
`GDK_IS_SCREEN (screen)' failed

(process:29475): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion 
`GDK_IS_COLORMAP (colormap)' failed

(process:29475): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion 
`GDK_IS_SCREEN (screen)' failed

(process:29475): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion 
`GDK_IS_SCREEN (screen)' failed

(process:29475): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion 
`GDK_IS_SCREEN (screen)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_new: assertion `GDK_IS_WINDOW 
(parent)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_enable_synchronized_configure: 
assertion `GDK_IS_WINDOW (window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `window 
!= NULL' failed

(process:29475): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' 
failed

(process:29475): Gtk-CRITICAL **: gtk_style_set_background: assertion 
`GTK_IS_STYLE (style)' failed

(process:29475): Gtk-CRITICAL **: gtk_paint_flat_box: assertion `GTK_IS_STYLE 
(style)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_set_accept_focus: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_set_focus_on_map: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_set_modal_hint: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): Gtk-CRITICAL **: gtk_window_realize_icon: assertion 
`widget->window != NULL' failed

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

(process:29475): Gdk-CRITICAL **: gdk_window_set_geometry_hints: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT 
(object)' failed

(process:29475): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' 
failed

(process:29475): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT 
(object)' failed

(process:29475): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' 
failed

(process:29475): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion 
`GDK_IS_SCREEN (screen)' failed

(process:29475): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion 
`GDK_IS_COLORMAP (colormap)' failed

(process:29475): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion 
`GDK_IS_SCREEN (screen)' failed

(process:29475): Gdk-CRITICAL **: gdk_screen_get_root_window: assertion 
`GDK_IS_SCREEN (screen)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_new: assertion `GDK_IS_WINDOW 
(parent)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_set_user_data: assertion `window 
!= NULL' failed

(process:29475): Gtk-CRITICAL **: gtk_style_attach: assertion `window != NULL' 
failed

(process:29475): Gtk-CRITICAL **: gtk_style_set_background: assertion 
`GTK_IS_STYLE (style)' failed

(process:29475): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT 
(object)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_show: assertion `GDK_IS_WINDOW 
(window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window 
!= NULL' failed

(process:29475): Gdk-CRITICAL **: gdk_window_invalidate_rect: assertion `window 
!= NULL' failed

(process:29475): Gdk-CRITICAL **: gdk_window_unmaximize: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_unstick: assertion `GDK_IS_WINDOW 
(window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_deiconify: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_unfullscreen: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_set_keep_above: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_set_keep_below: assertion 
`GDK_IS_WINDOW (window)' failed

(process:29475): Gdk-CRITICAL **: gdk_window_show: assertion `GDK_IS_WINDOW 
(window)' failed
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to