-
Notifications
You must be signed in to change notification settings - Fork 320
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
Support linux older than glibc2.29 #491
Comments
that's a https://github.com/cimgui/cimgui question. Please post it there otherwise correct me if I am wrong. |
cimgui is not built at all. You choose compiler. |
oh i see, @colaub can you help me figure out which linux version i should use such that I get glibc2.28 |
This is fairly old but we're running into this issue as well, looks like the current nuget version (of imgui.net) is targeted at glibc 2.38. We've been trying to update our sdl2 and imgui.net 1.88.0 project to sdl3 and imgui,v 1.91.6.1 and it's... not been fun to say the least. I'd suggest maybe building against glibc 2.31 which appears to be what the steam runtime is using. Edit: Ubuntu 20.04 uses glibc 2.31 |
An extra note: I ended up using docker with the steam sniper runtime SDK to compile cimgui, was pretty easy to do from the command line, I'm assuming it'll be fairly straight forward to automate it. |
I'm running into the same issue with ubuntu 22.04, which ships with glibc 2.35. Is there a way to check which is the latest imgui/imgui.net version that supports this? (I'm not super familiar with .net, so I can't really find the version) |
@SkaveRat it's not .net, it's the cimgui library which is C. |
I'm a bit stuck on replacing the lib. The docs regarding the nativebuild repo mention the How would I replace the .so in the nuget package with my compiled one? |
yeah linux is shit with it's lib nomenclature, it has ~3 "standards" of naming, it's dumb, imgui.net should look for all three, in our project just dropping cimgui.so in there along with libcimgui.so seemed to work, I'm not sure if that's just because it checks for cimgui.so before libcimgui.so though. |
argh, alright. Of course it works now, after trying it again (I swear it didn't before...). Thanks! For people stumbling onto this: This is how I fixed it for me:
In my case I'm using imgui-godot, so I'm just going to throw that name in here in case anyone else stumbles on this problem |
Excellent. This is why I'm hoping @zaafar will consider using the steam sdk as a defacto standard, it should solve 99% of these issues. Edit: extra note: if you tried renaming the new one and replacing the old, the project may (probilby) would have overwritten it back again, depending on how you tried running it, which would have caused you to think it'd failed in your first try. |
On linux
lincimgui.so
is built against glibc2.29.Log from a RHEL8 / Rocky8 which based on glibc2.28 :
rhel8/rocky8 are long-term distributions, that's why it could be interesting to have another linux version in the nuget package.
Is it an option?
Thank you for considering the question.
Colin.
The text was updated successfully, but these errors were encountered: