Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImGuiKey_KeyPadEnter not defined, when running demo #89

Closed
cserteGT3 opened this issue Aug 24, 2023 · 2 comments
Closed

ImGuiKey_KeyPadEnter not defined, when running demo #89

cserteGT3 opened this issue Aug 24, 2023 · 2 comments

Comments

@cserteGT3
Copy link

I am trying to run the demo, but it fails with the above mentioned error. Based on #88 I set the _jll version to 0.1.2, but it doesn't seem to work.
I'm using julia v1.9.2 on Windows 11, package versions:

(demo) pkg> st
Status `C:\Users\username\git\CImGui.jl\demo\Project.toml`
  [5d785b6c] CImGui v1.82.0
  [623d79b3] ImGuiGLFWBackend v0.1.2
  [9d0819b4] ImGuiOpenGLBackend v0.1.1
⌃ [333409e9] CImGuiPack_jll v0.1.2+0

In a fresh julia session:

julia> using CImGui

julia> include("demo.jl")
ERROR: LoadError: UndefVarError: `ImGuiKey_KeyPadEnter` not defined
Stacktrace:
 [1] init(ctx::ImGuiGLFWBackend.Context)
   @ ImGuiGLFWBackend C:\Users\username\.julia\packages\ImGuiGLFWBackend\42XtF\src\interface.jl:36
 [2] top-level scope
   @ C:\Users\username\git\CImGui.jl\demo\demo.jl:62
 [3] include(fname::String)
   @ Base.MainInclude .\client.jl:478
 [4] top-level scope
   @ REPL[2]:1
in expression starting at C:\Users\username\git\CImGui.jl\demo\demo.jl:62

I am not sure how to proceed now.

@JamesWrigley
Copy link
Member

cough this is probably my fault 😬 Could you try updating ImGuiGLFWBackend to v0.1.3? That should have the correct compat bounds.

@cserteGT3
Copy link
Author

It works now, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants