-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
When I run CImGui julia app compiled with PackageCompiler, I get the following error:
Unhandled Task ERROR: MethodError: no method matching isless(::VersionNumber, ::Nothing)
The function `isless` exists, but no method is defined for this combination of argument types.
Closest candidates are:
isless(::Missing, ::Any)
@ Base missing.jl:87
isless(::Any, ::Missing)
@ Base missing.jl:88
...
Stacktrace:
[1] <(x::VersionNumber, y::Nothing)
@ Base .\operators.jl:353
[2] <=(x::VersionNumber, y::Nothing)
@ Base .\operators.jl:402
[3] >=(x::Nothing, y::VersionNumber)
@ Base .\operators.jl:426
[4] renderloop(ui::MkpVerifyGUI.var"#2#3"{Bool, @Kwargs{}}, ctx::Ptr{CImGui.lib.ImGuiContext}, ::Val{:GlfwOpenGL3}; hotloading::Bool, on_exit::Function, clear_color::Vector{Float32}, window_size::Tuple{Int64, Int64}, window_title::String, engine::Nothing, opengl_version::VersionNumber, wait_events::Bool)
@ GlfwOpenGLBackend C:\Users\skv\.julia\packages\CImGui\DazpG\ext\GlfwOpenGLBackend.jl:65
[5] renderloop
@ C:\Users\skv\.julia\packages\CImGui\DazpG\ext\GlfwOpenGLBackend.jl:56 [inlined]
[6] (::GlfwOpenGLBackend.var"#5#6"{@Kwargs{wait_events::Bool, window_size::Tuple{Int64, Int64}, window_title::String, engine::Nothing, on_exit::MkpVerifyGUI.var"#5#6"{Ptr{ImPlot.ImPlotContext}}}, Tuple{MkpVerifyGUI.var"#2#3"{Bool, @Kwargs{}}, Ptr{CImGui.lib.ImGuiContext}, Val{:GlfwOpenGL3}}})()
@ GlfwOpenGLBackend C:\Users\skv\.julia\packages\CImGui\DazpG\ext\GlfwOpenGLBackend.jl:212
ERROR: TaskFailedException
Looks like pkgversion returns nothing in this case:
if pkgversion(GLFW) >= v"3.4.4"
https://github.com/JuliaImGui/CImGui.jl/blob/v5.1.2/ext/GlfwOpenGLBackend.jl#L65
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels