-
Notifications
You must be signed in to change notification settings - Fork 36
Update imgui-sfml to version 2.2 #1368
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
Update imgui-sfml to version 2.2 #1368
Conversation
Several configurations failed. Can you have a look? |
Mmm weird. Only the debug builds for version 2.2 are failing. I'm gonna pin @eliasdaler just in case |
It fails here for Debug Shared (Debug Static is ok) builds:
Pretty strange. Maybe adding Can you temporarily point Conan to this commit? SFML/imgui-sfml@f35da32
|
Okay, I'm adding a version that points to the specific commit and remove the 2.2 version. Let's see what happens |
The CI still ran with 2.2, looks like |
And if I change the sources under the 2.2 version (using the ones in the commit instead of the 2.2 ones), the recipe fails to be created. I'm not sure how to test your specific commit. Maybe with a patch file? |
Yeah, patch file should work |
Have you changed the URL in conandata.yml and changed the |
I actually tried changing the URL to the specific commit in the conandata.yml, but with no luck. I then looked into the It seems that, the way it's done, it doesn't like when the version number doesn't appear in the URL. Maybe there's something I'm not considering, or at least there should be a workaround for it. |
This should allow to test the commit in CI |
It seems the CI is still broken with that specific commit @eliasdaler |
I'm not sure it's a problem of ImGui-SFML's CMake... Can you reproduce it locally? It's pretty strange that CMake is not able to find SFML's libs - maybe SFML Conan recipe is not functioning correctly? |
I'm lately running a little bit out of time, so if you feel like closing this PR to further investigate what's going on, please do it so. |
Are there any plans for looking into this? I am eager to update to newer versions of imgui and the SFML binding, especially for some bugfixes. |
I guess, but now it has to target 2.3. Also, as I said, I don't have much time to look into this, and the CI keeps failing for some reason in Debug builds for the latest version. As soon as that is fixed, this should be easy to merge. |
retrigger CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully we should be good to go once this is removed !
2.3 came out some time ago, so maybe we should add it too |
Don't hesitate to do so. Also, don't forget to add the patch in config.yml (the same patch as 2.2 should work, because there was no change on this part of the CMakeLists, nor in line numbers) |
2.3 builds fail because of ocornut/imgui#4171. It seems the only way to solve this is to set cmake option IMGUI_SFML_IMGUI_DEMO=True, or wait until the next release |
At this point, it seems easier to just wait until the next release, as Dear ImGui tends to release every 2 months or so (unless it is a big release, like 1.80 was) |
I was on vacation and completely missed your delete suggestions. I think this is the best move until we can add ImGui-SFML 2.3. Thanks for the work! |
No problem, don't worry! |
Description
Basically updating to the new version og ImGui-SFML:
imgui_demo
, so the user can decide to build the demo for Dear ImGui.Related Issue
Motivation and Context
The new version of ImGui-SFML comes with a few changes that are necessary to keep up-to-date with Dear ImGui and also fixes some bugs.
How Has This Been Tested?
OS: Ubuntu 16.04 LTS
Conan version: 1.33.1
Python version: 3.8.3
CMake version: 3.19.5
Hooks: conan-center