I am trying to make 3D contour plots in julia with GLMakie.jl
.
using GLMakie
fig = Figure()
ax = Axis3(fig[1, 1])
data = rand(30, 30, 30)
surf = GLMakie.contour!(ax, data)
save("fig.png", fig)
When I run it, I get the following error
ERROR: LoadError: program 58 not linked. Error in:
~/.julia/packages/GLMakie/TH3rf/assets/shader/volume.vert or ~/.julia/packages/GLMakie/TH3rf/assets/shader/fragment_output.frag or ~/.julia/packages/GLMakie/TH3rf/assets/shader/lighting.frag or ~/.julia/packages/GLMakie/TH3rf/assets/shader/volume.frag
error: fragment shader input `o_camdir' has no matching output in the previous stage
error: fragment shader input `o_world_pos' has no matching output in the previous stage
I thought it is a problem with OpenGL but
>>> glxinfo | grep "OpenGL version"
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.3.2 - kisak-mesa PPA
On another machine I tested the same code and it worked fine.