# Issue with compiling Gtk

**URL:** <https://discourse.julialang.org/t/issue-with-compiling-gtk/21281>\
**Category:** Internals & Design\
**Created:** [February 27, 2019, 10:24pm UTC](https://discourse.julialang.org/t/issue-with-compiling-gtk/21281 "2019-02-27T22:24:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erisme](https://avatars.discourse-cdn.com/v4/letter/e/96bed5/32.png) [@Erisme](https://discourse.julialang.org/u/Erisme)\
**Post date:** [February 27, 2019, 10:24pm UTC](https://discourse.julialang.org/t/issue-with-compiling-gtk/21281/1 "2019-02-27T22:24:32Z")

</div>

Hi,

I build an executable using #PackageCompiler to execut the function Start()  
Base.@ccallable function julia\_main(ARGS::Vector{String})::Cint  
Start()  
return 0  
end

In Start() I have some GtkLabel like this:

Start = function()  
win = GtkWindow("Test Calculation ")  
g = GtkGrid()

b1 = GtkLabel(“Select the Vector”)  
c1 = GtkLabel(“Select the Scalar”)  
end

The executable was build correctly, but when I run the .exe I have this error:

Gtk-WARNING \*\*: 17:12:37.908: Attempting to add a widget with type GtkLabel to a GtkButton, but as a GtkBin subclass a GtkButton can only contain one widget at a time; it already contains a widget of type GtkLabel

and the windows close suddenly

Any help?
