wookay / Poptart.jl

🏂 GUI programming in Julia based on CImGui.jl
46 stars 6 forks source link

GLFWBackend not defined error in windows10 #27

Open sonosole opened 6 months ago

sonosole commented 6 months ago

I have installed Poptart, but I can not use it

julia> using Poptart
Precompiling Poptart
        Info Given Poptart was explicitly requested, output will be shown live
ERROR: LoadError: UndefVarError: `GLFWBackend` not defined

here is my st

(@v1.10) pkg> st
Status `C:\Users\xxx\.julia\environments\v1.10\Project.toml`
  [a0ba0308] Alexya v2.1.0
  [5d785b6c] CImGui v1.89.0
  [f7f18e0c] GLFW v3.4.1
  [4c0ca9eb] Gtk v1.3.0
  [623d79b3] ImGuiGLFWBackend v0.2.0
  [66fc600b] ModernGL v1.1.7
⌃ [91a5bcdd] Plots v1.40.1
  [c3e4b0f8] Pluto v0.19.40
⌃ [197b51f5] Poptart v0.2.1
Info Packages marked with ⌃ have new versions available and may be upgradable.

ImGuiGLFWBackend seems like the GLFWBackend mentioned in the error logs, I can't figure out what's wrong with my env :/

My versioninfo

julia> versioninfo()
Julia Version 1.10.2
Commit bd47eca2c8 (2024-03-01 10:14 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 20 × 13th Gen Intel(R) Core(TM) i7-13700H
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 20 virtual cores)
wookay commented 6 months ago

hello. you need to make some packages that to be older versions.

CImGui    1.82.0
LibCImGui    1.82.2

if you think it's not easy to set it down, I would like that please don't use this package. unfortunate but I don't have a plan to support for CImGui updates.