I am currently developing various graphics using GLmakie on a desktop computer with Windows 10, I have had no problems using it but when I try to run my graphics on a laptop with Windows 11 it gives me the following, I attach the example
In Windows 10
using CairoMakie, GLMakie
scatter(rand(10),figure = (; resolution = (400, 300)),)
In Windows 11
using CairoMakie, GLMakie
scatter(rand(10),figure = (; resolution = (400, 300)),)
MethodError: no method matching return_type(::Makie.var"#30#32"{Set{Makie.Mouse.Button}}, ::Tuple{DataType})
Closest candidates are:
return_type(::Any, ::DataType) at compiler/typeinfer.jl:1019
return_type(::Any, ::DataType, ::UInt64) at compiler/typeinfer.jl:1025
Stacktrace:
[1] _sanitize_observer_function(f::Any, argtypes::Tuple{DataType})
@ Makie C:\Users\espin\.julia\packages\Makie\c5WJV\src\interaction\PriorityObservable.jl:82
[2] on(f::Any, observable::Makie.PriorityObservable{Makie.MouseButtonEvent}; weak::Bool, priority::Int8)
@ Makie C:\Users\espin\.julia\packages\Makie\c5WJV\src\interaction\PriorityObservable.jl:100
[3] Events()
@ Makie C:\Users\espin\.julia\packages\Makie\c5WJV\src\types.jl:109
[4] Scene(; clear::Bool, transform_func::Function, scene_attributes::Base.Pairs{Symbol, Any, Tuple{Symbol, Symbol}, NamedTuple{(:camera, :resolution), Tuple{typeof(campixel!), Tuple{Int64, Int64}}}})
@ Makie C:\Users\espin\.julia\packages\Makie\c5WJV\src\scenes.jl:135
[5] Figure(; kwargs::Base.Pairs{Symbol, Tuple{Int64, Int64}, Tuple{Symbol}, NamedTuple{(:resolution,), Tuple{Tuple{Int64, Int64}}}})
@ Makie C:\Users\espin\.julia\packages\Makie\c5WJV\src\figures.jl:70
[6] plot(P::Type{Scatter}, args::Vector{Float64}; axis::NamedTuple{(), Tuple{}}, figure::NamedTuple{(:resolution,), Tuple{Tuple{Int64, Int64}}}, kw_attributes::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Makie C:\Users\espin\.julia\packages\Makie\c5WJV\src\figureplotting.jl:18
[7] #scatter#176
@ C:\Users\espin\.julia\packages\Makie\c5WJV\src\recipes.jl:15 [inlined]
[8] top-level scope
@ In[146]:2