-
Notifications
You must be signed in to change notification settings - Fork 29
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
error: "Can't open dynamic library: cef_artifacts/libgdcef.dll" when execute a build for windows platform #45
Comments
|
Reopen the ticket if needed |
@Lecrapouille Build files:
If I copy cef_artifacts to build folder it doesn't help. Output from debug console:
I don't see |
Libs no longer exist with 0.10.0. Remove it. I will ask testing for export since I do not have windows |
@Pastew effectively, Godot does not copy the cef_artfacts folder. From memory, Godot3 did it correctly. Maybe opening a bug on Godot team. You can copy it manually. Other point, there is a small issue on my side. In godot script |
Sorry, I had no time for testing my last commit fixing. @Pastew if you want to check. I'll see to create a new tag |
Sure, I will test it when a new tag appears (but not earlier than June 22nd). For now - I just moved cef_artifacts content to .exe's directory and it works. |
Same problem here, and also caught something weird and a weird solution to the problem. This solution isn't ideal because it's really messy and wastes more disk space, but adding the cef_artifacts content on to the root of exported build directory and adding the cef_artifacts folder with the same content works. Yes you really need to duplicate for it to work. However, while I was debugging the error using Process Monitor in order to see what paths it was using, I saw that it's able to find the libgdcef.dll file just fine inside my cef/ folder, but for everything such as the libcef.dll, it's unable to find it and goes through most of the Windows filesystem, even though the libcef.dll is also inside the cef/ folder. |
ok @pimhakkert we have to investigate |
OS: windows 11
Godot version: 4.2.1
Description: gdcef extension works fine on godot editor, but when I try to export for windows, an execute the build, I get this error stack
this is how looks in editor, vs windows build
this is how looks the windows build folder: (I added "cef_artifacts" folder manually)
The text was updated successfully, but these errors were encountered: