JuliaNeuralGraphics / NerfGUI.jl

MIT License
29 stars 3 forks source link

Issue running NerfGUI.main() #5

Closed tanged123 closed 1 year ago

tanged123 commented 1 year ago

Running into this issue when running NerfGUI.main(). Seems to be something with the GUI controls?

ERROR: UndefVarError: `ImGuiKey_KeyPadEnter` not defined
Stacktrace:
 [1] init(ctx::ImGuiGLFWBackend.Context)
   @ ImGuiGLFWBackend C:\Users\~\.julia\packages\ImGuiGLFWBackend\42XtF\src\interface.jl:36
 [2] NeuralGraphicsGL.Context(title::String; width::Int64, height::Int64, fullscreen::Bool, vsync::Bool, resizable::Bool, visible::Bool)
   @ NeuralGraphicsGL C:\Users\~\.julia\packages\NeuralGraphicsGL\xvJ8M\src\NeuralGraphicsGL.jl:210
 [3] Context
   @ C:\Users\~\.julia\packages\NeuralGraphicsGL\xvJ8M\src\NeuralGraphicsGL.jl:163 [inlined]
 [4] NerfGUI.NGUI(; gl_kwargs::Base.Pairs{Symbol, Integer, Tuple{Symbol, Symbol, Symbol}, NamedTuple{(:width, :height, :resizable), Tuple{Int64, Int64, Bool}}})
   @ NerfGUI C:\Users\~\.julia\packages\NerfGUI\Gb6sT\src\NerfGUI.jl:92
 [5] NGUI
   @ C:\Users\~\.julia\packages\NerfGUI\Gb6sT\src\NerfGUI.jl:88 [inlined]
 [6] main()
   @ NerfGUI C:\Users\~\.julia\packages\NerfGUI\Gb6sT\src\NerfGUI.jl:481
 [7] top-level scope
   @ REPL[3]:1
pxl-th commented 1 year ago

This is due to latest LibCImGui.jl update from 1.82 to 1.89. Fixed version to 1.82 for now which fixes the issue. Thanks for pointing out!