# Gtk / PackageCompiler / App runtime error

**URL:** <https://discourse.julialang.org/t/gtk-packagecompiler-app-runtime-error/75822>\
**Category:** General Usage\
**Tags:** package-compiler, gtk\
**Created:** [February 4, 2022, 9:42pm UTC](https://discourse.julialang.org/t/gtk-packagecompiler-app-runtime-error/75822 "2022-02-04T21:42:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nshaviv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nshaviv/32/13907_2.png) [@nshaviv](https://discourse.julialang.org/u/nshaviv)\
**Post date:** [February 4, 2022, 9:42pm UTC](https://discourse.julialang.org/t/gtk-packagecompiler-app-runtime-error/75822/1 "2022-02-04T21:42:36Z")

</div>

Hi,  
I’m trying to get a Gtk standalone application using PackageCompiler. I managed to overcome many hurdles, and finally it works, well, almost… When I run the .exe that was built, I get a bunch of errors like

```julia

(MyApp.exe:22304): GLib-GObject-WARNING **: 23:10:35.795: cannot register existing type 'GtkBuildable'

(MyApp.exe:22304): GLib-GObject-CRITICAL **: 23:10:35.795: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed

(MyApp.exe:22304): GLib-CRITICAL **: 23:10:35.795: g_once_init_leave: assertion 'result != 0' failed

(MyApp.exe:22304): GLib-GObject-CRITICAL **: 23:10:35.795: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed

(MyApp.exe:22304): GLib-GObject-WARNING **: 23:10:35.819: cannot register existing type 'GtkWidget'

(MyApp.exe:22304): GLib-GObject-WARNING **: 23:10:35.819: cannot add class private field to invalid type '<invalid>'

(MyApp.exe:22304): GLib-GObject-WARNING **: 23:10:35.819: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(MyApp.exe:22304): GLib-GObject-CRITICAL **: 23:10:35.819: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

```

I’m running Julia 1.6.2, PackageCompiler.jl 2.0.4 and Gtk.jl 1.2.0 on a Windows 11 machine.

Any suggestions will be appreciated and be the subject of my eternal gratitude. 😃
