Hi, I have a bug during animation with CairoMakie. I try the example from the doc:
using CairoMakie
scene = lines(rand(10); linewidth=10)
record(scene, "out.mp4", 1:255; framerate = 60) do i
scene.plots[2][:color] = RGBf0(i/255, (255 - i)/255, 0) # animate scene
end;
ang get
julia> include("test.jl")
ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libharfbuzz.so.0: undefined symbol: FT_Get_Transform
ERROR: UndefVarError: RGBf0 not defined
Stacktrace:
[1] (::var"#5#6")(i::Int64)
@ Main ~/temp/testRecord/test.jl:6
[2] Record(func::var"#5#6", figlike::Makie.FigureAxisPlot, iter::UnitRange{Int64}; kw_args::Base.Pairs{Symbol, Any, Tuple{Symbol, Symbol}, NamedTuple{(:format, :framerate), Tuple{SubString{String}, Int64}}})
@ Makie ~/.julia/packages/Makie/DekzU/src/recording.jl:167
[3] record(func::Function, figlike::Makie.FigureAxisPlot, path::String, iter::UnitRange{Int64}; kw_args::Base.Pairs{Symbol, Int64, Tuple{Symbol}, NamedTuple{(:framerate,), Tuple{Int64}}})
@ Makie ~/.julia/packages/Makie/DekzU/src/recording.jl:148
[4] top-level scope
@ ~/temp/testRecord/test.jl:5
julia>
In case it helps :
julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 32 Ă— 13th Gen Intel(R) Core(TM) i9-13900K
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, goldmont)
Threads: 8 on 32 virtual cores
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS = 8
julia>
(testRecord) pkg> status
Status `~/temp/testRecord/Project.toml`
[13f3f980] CairoMakie v0.10.5
It is Ubuntu 23.04. FWIW, the same code runs OK on my Mac…
Any hints ?