These are chat archives for jheinen/GR.jl

Feb 2018
Feb 15 2018 01:45
I am trying to make a plot in julia on a headless ubuntu instance and I am running into the following error. I have the feeling that it is trying to print to a screen instead of write to a file. But I am not sure what I am doing wrong.:
using GR
 x = [-3.3 + t*0.1 for t in 0:66];
 y = [(t^5 - 13*t^3 + 36*t)::Float64 for t in x];
plot(x, y)
ERROR: error compiling #plot#27: error compiling plot_data: error compiling clearws: could not load library "/home/ubuntu/.julia/v0.6/GR/src/../deps/gr/lib/" cannot open shared object file: No such file or directory
 [1] plot(::Array{Float64,1}, ::Vararg{Array{Float64,1},N} where N) at /home/ubuntu/.julia/v0.6/GR/src/jlgr.jl:1055
 [2] #plot#6(::Array{Any,1}, ::Function, ::Array{Float64,1}, ::Vararg{Array{Float64,1},N} where N) at /home/ubuntu/.julia/v0.6/GR/src/GR.jl:2922
 [3] plot(::Array{Float64,1}, ::Vararg{Array{Float64,1},N} where N) at /home/ubuntu/.julia/v0.6/GR/src/GR.jl:2922
Josef Heinen
Feb 15 2018 08:52
@TDRoss : even on a headless system, you will have to install some requirements. Please refer to our GitLab-CI configuration here:
You probably need libgl1-mesa-dev libglu1-mesa-dev xorg-dev