Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Graphics example Fails #472

Closed
caseykneale opened this issue Dec 23, 2019 · 1 comment
Closed

Graphics example Fails #472

caseykneale opened this issue Dec 23, 2019 · 1 comment

Comments

@caseykneale
Copy link

Tried running the Graphics canvas example in the docs(https://juliagraphics.github.io/Gtk.jl/latest/manual/canvas/).

After running two lines,

using Gtk, Graphics
c = @GtkCanvas()

I was met with:

error compiling cfunction_: could not load library "libjulia"
libjulia.so: cannot open shared object file: No such file or directory
in  at base/task.jl:259
in handlemsg at Atom/lBERI/src/comm.jl:164
in  at Atom/lBERI/src/eval.jl:86
in macro expansion at Media/ItEPc/src/dynamic.jl:24 
in macro expansion at Atom/lBERI/src/eval.jl:91 
in hideprompt at Atom/lBERI/src/repl.jl:85
in #125 at Atom/lBERI/src/eval.jl:92 
in with_logger at base/logging.jl:491 
in with_logstate at base/logging.jl:395
in #126 at Atom/lBERI/src/eval.jl:93 
in withpath at Atom/lBERI/src/eval.jl:47 
in withpath at CodeTools/sf1Tz/src/utils.jl:30
in  at Atom/lBERI/src/eval.jl:94
in include_string at CodeTools/sf1Tz/src/eval.jl:30
in top-level scope at base/none
in GtkCanvas at Gtk/mVhmL/src/cairo.jl:15
in GtkCanvas at Gtk/mVhmL/src/cairo.jl:20
in signal_connect at Gtk/mVhmL/src/GLib/signals.jl:6 
in signal_connect at Gtk/mVhmL/src/GLib/signals.jl:6 
in signal_connect_generic at Gtk/mVhmL/src/GLib/signals.jl:11
in cfunction_ at Gtk/mVhmL/src/GLib/GLib.jl:29 
GtkWindowLeaf(name="", parent, width-request=-1, height-request=-1, visible=TRUE, sensitive=TRUE, app-paintable=FALSE, can-focus=FALSE, has-focus=FALSE, is-focus=FALSE, focus-on-click=TRUE, can-default=FALSE, has-default=FALSE, receives-default=FALSE, composite-child=FALSE, style, events=0, no-show-all=FALSE, has-tooltip=FALSE, tooltip-markup=NULL, tooltip-text=NULL, window, opacity=1.000000, double-buffered, halign=GTK_ALIGN_FILL, valign=GTK_ALIGN_FILL, margin-left, margin-right, margin-start=0, margin-end=0, margin-top=0, margin-bottom=0, margin=0, hexpand=FALSE, vexpand=FALSE, hexpand-set=FALSE, vexpand-set=FALSE, expand=FALSE, scale-factor=1, border-width=0, resize-mode, child, type=GTK_WINDOW_TOPLEVEL, title="Canvas", role=NULL, resizable=TRUE, modal=FALSE, window-position=GTK_WIN_POS_NONE, default-width=-1, default-height=-1, destroy-with-parent=FALSE, hide-titlebar-when-maximized=FALSE, icon, icon-name=NULL, screen, type-hint=GDK_WINDOW_TYPE_HINT_NORMAL, skip-taskbar-hint=FALSE, skip-pager-hint=FALSE, urgency-hint=FALSE, accept-focus=TRUE, focus-on-map=TRUE, decorated=TRUE, deletable=TRUE, gravity=GDK_GRAVITY_NORTH_WEST, transient-for, attached-to, has-resize-grip, resize-grip-visible, application, is-active=TRUE, has-toplevel-focus=TRUE, startup-id, mnemonics-visible=FALSE, focus-visible=FALSE, is-maximized=FALSE)
REPL
@caseykneale
Copy link
Author

This issue has been fixed by the binarywrapper wizards!

I was using a Fedora repo provided version of Julia. Using Stock Julia 1.3 from JuliaLang, and some heavy lifting for wayland support seems to have fixed this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant