# Problems installing GLVisualize on Windows

**URL:** https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485
**Category:** New to Julia
**Created:** [June 27, 2017, 9:24am UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485 "2017-06-27T09:24:33Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)
#### Post date: [June 27, 2017, 9:24am UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/1 "2017-06-27T09:24:33Z")

</div>

I hope it’s OK to repost [UndefVarError: Mat not defined](https://github.com/JuliaGL/GLVisualize.jl/issues/185) issue here.

Should I try another version of Julia to solve it? Is Windows more problematic for visualization with Julia than Linux?

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [June 27, 2017, 10:55pm UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/2 "2017-06-27T22:55:25Z")

</div>

Sorry about that, I still haven’t tagged a version that works on 0.6!  
Please try Julia 0.5 for now!

Best,  
Simon

---

<div class="post-metadata">

### Author: ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)
#### Post date: [June 28, 2017, 6:08am UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/3 "2017-06-28T06:08:42Z")

</div>

Thank you, Simon. I installed Julia 0.5.2 on Ubuntu 16.04 and GLVisualize passes the tests. I still have issues on Windows 7, though. I installed JuliaPro 0.5.2 and I’m getting this error on `Pkg.add("GLVisualize)`:

```julia
LoadError: could not spawn `'C:\Users\julia\AppData\Local\Julia-0.5.2\bin\7z.exe' x 'C:\JuliaPro-0.5.2.2\pkgs-0.5.2.2\v0
.5\GLFW\deps\downloads\glfw-3.2.1.bin.WIN64.zip' -y '-oC:\JuliaPro-0.5.2.2\pkgs-0.5.2.2\v0.5\GLFW\deps'`: no such file o
r directory (ENOENT)
while loading C:\JuliaPro-0.5.2.2\pkgs-0.5.2.2\v0.5\GLFW\deps\build.jl, in expression starting on line 52

```

I don’t know why the build process is looking into `C:\Users\julia\AppData\Local\Julia-0.5.2\bin` directory, which doesn’t exist.

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [June 29, 2017, 6:13am UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/4 "2017-06-29T06:13:31Z")

</div>

Maybe the Julia Pro install doesn’t ship with 7zip?  
Or something went wrong with the download of the binary dependency!

---

<div class="post-metadata">

### Author: ![tkelman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkelman/32/692_2.png) [@tkelman](https://discourse.julialang.org/u/tkelman)
#### Post date: [June 29, 2017, 6:34am UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/5 "2017-06-29T06:34:31Z")

</div>

Delete `C:\JuliaPro-0.5.2.2\pkgs-0.5.2.2\lib\v0.5\BinDeps.ji` and try again

---

<div class="post-metadata">

### Author: ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)
#### Post date: [June 29, 2017, 7:10am UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/6 "2017-06-29T07:10:07Z")

</div>

Thanks. Removing this file and rebuilding GLFW allows for GLVisualize test to run and complete almost successfully, except ffmpeg, which I don’t need.

BTW, I’m getting this message while running GLVisualize test:

```julia
WARNING: Plots.jl is not installed, excluding a lot of interesting examples from the tests
    and a nice summary.
Please consider doing: `Pkg.add("Plots"); Pkg.checkout("Plots", "dev")`

```

I did `Pkg.add("Plots"); Pkg.checkout("Plots", "dev")` and I checked it with `Pkg.status("Plots")`, but it still insists that Plots.jl is not installed.

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [June 29, 2017, 8:14am UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/7 "2017-06-29T08:14:12Z")

</div>

Yes, that’s a “bug” - it doesn’t mean anything!  
It should actually work with the currently tagged Plots.jl version!

---

<div class="post-metadata">

### Author: ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)
#### Post date: [June 29, 2017, 3:43pm UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/8 "2017-06-29T15:43:53Z")

</div>

Speaking of tagging. What is the way to find out what versions of Julia are supported by a package?

The reason I was trying GLVisualize with Julia 0.6 is that [Julia packages page](https://pkg.julialang.org/) shows the same `untestable` status for both 0.5 and 0.6 versions.

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [June 29, 2017, 4:03pm UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/9 "2017-06-29T16:03:39Z")

</div>

> [@pauljurczak](#):
>
> Speaking of tagging. What is the way to find out what versions of Julia are supported by a package?

If you go to a package’s repository, you’ll see badges at the top. For this package:

> **[GitHub - JuliaGL/GLVisualize.jl: Visualization library written in Julia and...](https://github.com/JuliaGL/GLVisualize.jl)**
>
> Visualization library written in Julia and OpenGL. Contribute to JuliaGL/GLVisualize.jl development by creating an account on GitHub.

there’s just one for tests: “Build status”, which leads to:

[https://ci.maleadt.net/buildbot/julia/builders/GLVisualize.jl%3A%20Julia%200.5%20(x86-64)](https://ci.maleadt.net/buildbot/julia/builders/GLVisualize.jl%3A%20Julia%200.5%20%28x86-64%29)

This shows it’s only testing on v0.5.

Notice that GLVisualize is an outlier here. Most packages will test on Travis and AppVeyor. Let’s pick a random package:

> **[GitHub - JuliaNLSolvers/Optim.jl: Optimization functions for Julia](https://github.com/JuliaNLSolvers/Optim.jl)**
>
> Optimization functions for Julia. Contribute to JuliaNLSolvers/Optim.jl development by creating an account on GitHub.

At the top you see the “Build Status” with badges for Travis and AppVeyor. If you click on them, you’ll get:

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/JuliaNLSolvers/Optim.jl)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

[https://ci.appveyor.com/project/blegat/optim-jl](https://ci.appveyor.com/project/blegat/optim-jl)

Looks like Travis had a random failure on Mac, but it’s working on Linux v0.6 so as of now it’s testing on v0.6+. Meanwhile, the AppVeyor tests (Windows) haven’t ran for 5 months and are stuck at v0.5, so this needs a PR (I might do it if I remember today).

So why does GLVisualize do something non-standard? My guess is because it needs a buildbot which has GPUs to test with. And that’s probably why it’s disabled for PkgEval. I can confirm this by looking at the page for the buildbot:

[https://ci.maleadt.net/buildbot/julia/buildslaves/hydor.elis.ugent.be](https://ci.maleadt.net/buildbot/julia/buildslaves/hydor.elis.ugent.be)

```julia
host: Linux x64 running Debian stable, 2x E5-2637 with 64GB RAM, NVIDIA TITAN.

```

so this is only CI tested on Linux, but it is tested with an NVIDIA Titan.

---

<div class="post-metadata">

### Author: ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)
#### Post date: [June 29, 2017, 4:23pm UTC](https://discourse.julialang.org/t/problems-installing-glvisualize-on-windows/4485/10 "2017-06-29T16:23:55Z")

</div>

Thanks a lot. Visualization packages present some testing difficulties, as you noticed. OpenGL drivers and other GPU related infrastructure is required.
