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

Doesn't appear to work in 4.0 or 4.1 #20

Open
sapienzor opened this issue May 4, 2023 · 9 comments
Open

Doesn't appear to work in 4.0 or 4.1 #20

sapienzor opened this issue May 4, 2023 · 9 comments

Comments

@sapienzor
Copy link

Hi, I've been migrating my project to 4.x but I've been having issues with this addon(thank you btw, saved me a huge headache in 3). I tried downloading and installing off the assetlib as well as from here. I've also tried creating a new project. Getting this:

editor/editor_node.cpp:1271 - Condition "!res.is_valid()" is true. Returning: ERR_CANT_OPEN
Can't open dynamic library: /home/zoey/Documents/__godotsideprojects/Titans of Otili/addons/native_dialogs/bin/libnativedialogs.linux.template_debug.x86_64.so. Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/zoey/Documents/__godotsideprojects/Titans of Otili/addons/native_dialogs/bin/libnativedialogs.linux.template_debug.x86_64.so)
core/extension/gdextension.cpp:400 - GDExtension dynamic library not found: /home/zoey/Documents/__godotsideprojects/Titans of Otili/addons/native_dialogs/bin/libnativedialogs.linux.template_debug.x86_64.so

@98teg
Copy link
Owner

98teg commented May 4, 2023

Thank you for your kind words! According to your error message, it seems like you are missing some dependencies installed in your operating system:

Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found 

If you run the command ldd --version, you should get an error. When I run it I get:

ldd (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35

So it seems like you don't need version 2.32 specifically. I would recommend you to follow this section of the Godot documentation to install possible missing dependencies. If that solves the issue, please let me know.

@sapienzor
Copy link
Author

2.31 appears to be the official version for my OS, which says it is up to date. It will not allow me to update past that for security reasons.

@98teg
Copy link
Owner

98teg commented May 4, 2023

I've been looking into downgrading Ubuntu in the GitHub workflow, but it is already in the lowest version possible. Maybe you could try and build the extension yourself? I explain how to do it here.

@98teg
Copy link
Owner

98teg commented May 4, 2023

Also, could you test if this error occurs with others GDExtensions, please? Such as Godot SQLite

@sapienzor
Copy link
Author

Went down the rabbit hole a bit, apparently I need a higher python version to get a higher scons version, but updating python breaks my OS. I guess I could do a virtual environment for python but I have no idea how to do that.

SQLite and a few other extensions I randomly tried all worked fine.

@98teg
Copy link
Owner

98teg commented May 5, 2023

Could you try this version, please? I've added a step to the workflow that I've seen in the GDExtension summator, and I've updated it to Godot 4.0.2. This may not work, but it is the only thing I can think of.

native_dialogs.zip

If this still crashes, please leave more information about your OS, in case anyone in the future wants to look into this.

@sapienzor
Copy link
Author

Tried it in a fresh project on 4, 4.0.1, 4.0.2, 4.0.3, and 4.1 :(, same result. Thanks for trying. Can I ask if you've gotten it to work on another linux distro, if so, which?

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-148-generic
OS Type: 64-bit
Processors: 4 × AMD Ryzen 3 1200 Quad-Core Processor
Memory: 15.6 GiB of RAM

@98teg
Copy link
Owner

98teg commented May 9, 2023

I've tested this plugin in Windows 10 and Ubuntu 22

@INdIEDeV016
Copy link

INdIEDeV016 commented Jul 7, 2023

The issue still persists in the stable version of Godot 4.1. Also there are changes to the GDExtension architecture so the plugin might be required to be rewritten.

OS: Windows 11 Pro 22H2
image

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

3 participants