PlanetaryImager icon indicating copy to clipboard operation
PlanetaryImager copied to clipboard

Raspberry Pi

Open wschwack opened this issue 5 years ago • 3 comments

I would like to install PlanetaryImager on a Raspberry pi. Is there any chance?

wschwack avatar Dec 04 '19 13:12 wschwack

Hi, we don't have any precompiled package at the moment, but it's surely possible compiling from source, as long as you have the right libraries. I think in Rasbian Stretch they're already at the right version (I mean Qt in particular)

GuLinux avatar Dec 04 '19 13:12 GuLinux

Hi,

I just successfully compiled PlanetaryImager for RPi4 after installing the dependencies. I had to tweak the CMakeLists.txt to include the following line:

set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -latomic")

Without that I would get a linking error at the very end of the compile process.

However PlanetaryImager won't start. In terminal I get this and nothing else:

Starting PlanetaryImager - version 0.7.70 (armv7l)
qt5ct: using qt5ct plugin

(planetary_imager:1189): GLib-GObject-WARNING **: 02:06:06.158: cannot register existing type 'GtkWidget'

(planetary_imager:1189): GLib-GObject-CRITICAL **: 02:06:06.158: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(planetary_imager:1189): GLib-GObject-WARNING **: 02:06:06.158: cannot register existing type 'GtkBuildable'

(planetary_imager:1189): GLib-GObject-CRITICAL **: 02:06:06.158: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(planetary_imager:1189): GLib-CRITICAL **: 02:06:06.158: g_once_init_leave: assertion 'result != 0' failed

(planetary_imager:1189): GLib-GObject-CRITICAL **: 02:06:06.158: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(planetary_imager:1189): GLib-GObject-CRITICAL **: 02:06:06.158: g_type_register_static: assertion 'parent_type > 0' failed

Any ideas?

kbrown73 avatar Sep 14 '21 01:09 kbrown73

Ok. It seems to start okay if I run it as root. No idea why that would be required?

kbrown73 avatar Sep 14 '21 21:09 kbrown73