ImageView giving glib error

478 views Asked by At

When I try to launch image_view a window display shows up and freezes .

The terminal output is as follows :

(image_view:29293): GLib-GObject-WARNING **: invalid uninstantiatable type '(null)' in cast to 'GtkWidget'

(image_view:29293): GLib-GObject-WARNING **: instance of invalid non-instantiatable type '(null)'

(image_view:29293): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

I'm running Ubuntu 14.04.2 release using ROS-Indigo
A similar error is reported on this site but with no fix
Also rqt_image_viewer works as given in the link above but only for uncompressed images and hence i cannot view images sent over by other camera devices for eg android-camera since they are compressed as shown below Problem

1

There are 1 answers

0
udit7395 On BEST ANSWER

Rebuilding OpenCV with Qt4 or Qt off in cmake fixes this problem More info in this. link