Linux build doesn't work

A desktop app that works on Mac and Windows doesn’t work on Linux. I know too little of the Linux environment to analyze what goes wrong. Below is the list of error messages. I anyone has some idea what goes wrong I would be very happy to learn what that could be and how I can correct it.


hagrot@HNB433:~/bin/psi/new> ./CMM-analysis
Runtime Error
Please report what caused this error along with the information below.
RuntimeCore/ICUStable.cpp: 79
Failure Condition: sLibraryPtr
Could not load ICU library

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

(process:24723): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed

(process:24723): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): GLib-GObject-CRITICAL **: g_object_get: assertion ‘G_IS_OBJECT (object)’ failed

(process:24723): GLib-GObject-WARNING **: value “TRUE” of type ‘gboolean’ is invalid or out of range for property ‘visible’ of type ‘gboolean’

(process:24723): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): GLib-GObject-CRITICAL **: g_object_get: assertion ‘G_IS_OBJECT (object)’ failed

(process:24723): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): GLib-GObject-CRITICAL **: g_object_get: assertion ‘G_IS_OBJECT (object)’ failed

(process:24723): GLib-GObject-WARNING **: value “TRUE” of type ‘gboolean’ is invalid or out of range for property ‘visible’ of type ‘gboolean’

(process:24723): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): GLib-GObject-CRITICAL **: g_object_get: assertion ‘G_IS_OBJECT (object)’ failed

(process:24723): GLib-GObject-CRITICAL **: g_object_get: assertion ‘G_IS_OBJECT (object)’ failed

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

(process:24723): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_font_description: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_base_dir: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_language: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_new: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_text: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_attributes: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_alignment: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion ‘PANGO_IS_LAYOUT (layout)’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion ‘PANGO_IS_LAYOUT (layout)’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_width: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_get_extents: assertion ‘layout != NULL’ failed

(process:24723): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_font_description: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_base_dir: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_language: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_new: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_text: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_attributes: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_alignment: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion ‘PANGO_IS_LAYOUT (layout)’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion ‘PANGO_IS_LAYOUT (layout)’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_width: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_get_extents: assertion ‘layout != NULL’ failed

(process:24723): Gtk-CRITICAL **: IA__gtk_icon_theme_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): Gtk-CRITICAL **: IA__gtk_icon_size_lookup_for_settings: assertion ‘GTK_IS_SETTINGS (settings)’ failed

(process:24723): Gtk-WARNING **: Invalid icon size 6

(process:24723): Gtk-CRITICAL **: IA__gtk_icon_theme_load_icon: assertion ‘GTK_IS_ICON_THEME (icon_theme)’ failed

(process:24723): Gtk-WARNING **: Error loading theme icon ‘dialog-error’ for stock:

(process:24723): Gtk-CRITICAL **: IA__gtk_icon_size_lookup_for_settings: assertion ‘GTK_IS_SETTINGS (settings)’ failed

(process:24723): Gtk-WARNING **: gtkstyle.c:2358: invalid icon size ‘6’

(process:24723): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion ‘pixbuf != NULL’ failed

(process:24723): GLib-GObject-CRITICAL **: g_object_ref: assertion ‘G_IS_OBJECT (object)’ failed

(process:24723): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_font_description: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_base_dir: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_language: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_new: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_text: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_alignment: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_ellipsize: assertion ‘PANGO_IS_LAYOUT (layout)’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_single_paragraph_mode: assertion ‘PANGO_IS_LAYOUT (layout)’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_wrap: assertion ‘PANGO_IS_LAYOUT (layout)’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_width: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_get_extents: assertion ‘layout != NULL’ failed

(process:24723): Gdk-CRITICAL **: IA__gdk_pango_context_get_for_screen: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_font_description: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_base_dir: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_context_set_language: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_new: assertion ‘context != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_text: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_get_extents: assertion ‘layout != NULL’ failed

(process:24723): GLib-GObject-CRITICAL **: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed

(process:24723): Gdk-CRITICAL **: IA__gdk_screen_get_width: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:24723): Pango-CRITICAL **: pango_layout_set_width: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_get_extents: assertion ‘layout != NULL’ failed

(process:24723): Pango-CRITICAL **: pango_layout_get_line_count: assertion ‘layout != NULL’ failed
Floating point exception


Dick

I have to add the Linux system specs: Open SUSE 13.2

Go here:

http://developer.xojo.com/system-requirements

and scroll down to the section named Linux Information.

There you will find a list of required libraries for your apps to run.

That link is not valid any more. It’s now: https://documentation.xojo.com/resources/system_requirements_for_current_version.html

In general, I’ve found that things “just work” on Ubuntu (and Mint follows suit.) The link Thomas gave should mention GTK+3 and libunwind, whose presence are spotty on other distros. In the case of my projects I’ve also sometimes found libwebkitgtk missing. Have fun :slight_smile: