Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Installing on Mac #182

Closed
MrBobot opened this issue Oct 24, 2019 · 2 comments
Closed

Error Installing on Mac #182

MrBobot opened this issue Oct 24, 2019 · 2 comments

Comments

@MrBobot
Copy link

MrBobot commented Oct 24, 2019

Using Julia 1.2 and Mac 10.14.6 get the following problem:

(v1.2) pkg> add ImageView
 Resolving package versions...
 Installed RoundingIntegers ─ v0.2.0
 Installed Reactive ───────── v0.8.3
 Installed GtkReactive ────── v0.6.0
 Installed ImageView ──────── v0.9.0
 Installed Gtk ────────────── v0.18.0
  Updating `~/.julia/environments/v1.2/Project.toml`
  [86fae568] + ImageView v0.9.0
  Updating `~/.julia/environments/v1.2/Manifest.toml`
  [4c0ca9eb] + Gtk v0.18.0
  [27996c0f] + GtkReactive v0.6.0
  [86fae568] + ImageView v0.9.0
  [a223df75] + Reactive v0.8.3
  [d5f540fe] + RoundingIntegers v0.2.0
  Building Gtk → `~/.julia/packages/Gtk/mVhmL/deps/build.log`
┌ Error: Error building `Gtk`: 
│ Error: glib: undefined method `uses_from_macos' for Formulary::FormulaNamespace625eb1438427cb13d7fd495d335349a0::Glib:Class
│ ERROR: LoadError: ArgumentError: `brew info` failed for ["cairo", "gdk-pixbuf", "glib", "libcroco", "pango"]!

I tried to manually add Gtk, but that leads to errors about Cairo, and trying to solve that leads to more errors, and then tried using BinDeps to solve Cairo problems but that leads to further error in using BinDeps.debug("Cairo") ... I'm stuck.

@johnnychen94
Copy link
Member

johnnychen94 commented Oct 25, 2019

This is duplicate to #175

In simple words, ImageView.jl is broken on MacOS because the upstream package Cairo.jl doesn't work well.

As an alternative, you can try out ImageShow.jl(included by Images.jl) and ImageInTerminal.jl

@timholy
Copy link
Member

timholy commented Dec 3, 2019

Should be fixed if you use Julia 1.3 and up-to-date packages

@timholy timholy closed this as completed Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants