-
Notifications
You must be signed in to change notification settings - Fork 25
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
1.90.8 and backend shenanigans #122
Conversation
97a335a
to
244c36c
Compare
bc37505
to
240f2df
Compare
0b799ae
to
664b68d
Compare
Fixes #123. Sneaky proof using the new test engine wrapper 😏 |
f1a6bd4
to
edcc4f9
Compare
While fixing the existing tests and getting CI to pass I realized that package extensions were only added in 1.9... I don't think I can be bothered supporting Requires and all that for older versions so I just bumped the minimum Julia version. |
a29b573
to
aa8b859
Compare
844760a
to
46887cd
Compare
This involved using a method to set the backend instead of a global variable for compatibility with Julia 1.6, though eventually I decided to bump the minimum Julia version to 1.9 so we could get package extensions.
I tried to add x86 tests to CI, but got this error when creating a GLFW window: |
I began the bindings update to 1.90.8 and ran into a bunch of things that needed fixing in our backends, so I decided to try using the official GLFW/OpenGL3 backends instead. And amazingly, they seem to work 🐙 This isn't ready to merge yet but I'm opening it for transparency.
demo/demo.jl
should work, but notexample/demo.jl
yet.How to test it:
Clone my
cimguipack-update
branch of Yggdrasil ([CImGuiPack] Update to ImGui 1.90.8 JuliaPackaging/Yggdrasil#8870)Build
CImGuiPack
locally with:julia +1.7 build_tarballs.jl <platform> --deploy=local
. Change the platform to your desired one, for example (in a project withBinaryBuilder
andBinaryBuilderBase
installed):If you get configure errors about
cxx_std_20
, pick a target that's in this CI list that matches your system: https://buildkite.com/julialang/yggdrasil/builds/11093. For example, on my system I had to usex86_64-linux-gnu-cxx11-julia_version+1.11.0
.Clone this branch,
] dev ./LibCImGui.jl
and] dev CImGuiPack
, and rundemo/demo.jl
. Docking and multiple viewports should work.