Hi there,
I have a project in Godot 3.0.6 that uses a GDNative C++ DLL. Once exported, the Godot .exe and GDNative .dll are in the same output folder and the game runs with no issues. (However I do get a WARNING: No Directory "Res://" in the console, but the game functions correctly).
Once I zip and copy the game over to any other PC (Win 7, 10) it says that it cannot load my GDNative DLL with the following message:
ERROR: Can't open dynamic link library: mygdnativetest.dll. Error: Error 126: The specified module could not be found.
platform/windows/os_windows.cpp:1700
ERROR: get_symbol: No valid library handle, can't get symbol from GDNative object
modules/gdnative/gdnative.cpp:317
ERROR: inilibrary: No nativescriptinit in "res://mygdnativetest.dll" found
modules/gdnative/nativescript/nativescript.cpp:1054
WARNING: No directory "res://"
WARNING: No directory "res://"
Can anyone please point me in the right direction as to what the problem could be? Is there perhaps a flag or something missing in the SConstruct file? It is very strange that the games runs locally but not when copied and run on another PC.
Thanks!