help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up a development environment for guile-g-golf based software


From: Jérémy Korwin-Zmijowski
Subject: Re: Setting up a development environment for guile-g-golf based software in KDE
Date: Fri, 2 Sep 2022 22:08:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

Hi Ricardo !

Thank you so much for your help. It worked like a charm.

You save my weekend hahaha

See you !


Le 02/09/2022 à 13:36, Ricardo Wurmus a écrit :
Jérémy Korwin-Zmijowski<jeremy@korwin-zmijowski.fr>  writes:

I want to build a GUI for Gnome (using guile-g-golf (and gtk)).

When under Gnome my small "Hello World" (from the manual example
script) window shows up.

When under KDE (Plasma) nothing shows up but errors in the terminal :

    $ guix shell guile gtk guile-g-golf -- ./hello-world
    (guile:10978): GLib-GObject-WARNING **: 12:19:06.388: cannot
    register existing type 'GdkPixbuf'
    (guile:10978): GLib-GObject-CRITICAL **: 12:19:06.388:
    g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
    (instance_type)' failed
    (guile:10978): GLib-GObject-CRITICAL **: 12:19:06.388:
    g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
    (instance_type)' failed
    (guile:10978): GLib-CRITICAL **: 12:19:06.388: g_once_init_leave:
    assertion 'result != 0' failed
When using g-golf make sure to disable grafts:

   guix shell --pure --no-grafts \
     guile guile-g-golf gtk@4

The same problem was found in guile-gi first:

   https://github.com/spk121/guile-gi/issues/96

--
Jérémy Korwin-Zmijowski

GPG: 036B 4D54 B7B4 D6C8 DA62 2746 700F 5E0C CBB2 E2D1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]