Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | droc101 |
I am using a precompiled gdnative binary from https://github.com/Soaku/DiscordGD/ and when I load the editor it says
ERROR: Can't open dynamic library: project-path/bin/win64/libdiscord.dll. Error: Error 126: The specified module could not be found.
At: platform/windows/os_windows.cpp:2082
ERROR: get_symbol: No valid library handle, can't get symbol from GDNative object
At: modules/gdnative/gdnative.cpp:488
ERROR: init_library: No nativescript_init in "res://bin/win64/libdiscord.dll" found
At: modules/gdnative/nativescript/nativescript.cpp:1501
In the editor’s gdnative library inspector, the symbol prefix is godot_
. This is correct, as this is the prefix in the DLL files, however as seen in the errors above, it says nativescript_init
not godot_nativescript_init
. This leads me to think that it is ignoring the symbol prefix when loading the library.