0 votes

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.

Godot version 3.1.1
in Engine by (153 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.