+1 vote

I have the same problem like this -> https://godotengine.org/qa/34377/exported-win64-build-cannot-find-gdnative-dll-on-another-pc

But that issue is not resolved and I hope somebody can will help me now.

Project work correctly on locall PC, but if I export his and try to run on the another PC I get an error.

ERROR: Can't open dynamic link library: bin/win64/libgdtest.dll. Error 126: The specified module could not be found.

My .gdns and .gdnlib are in "res://bin/" folder and .gdnlib look like this:




X11.64=[  ]
Windows.64=[  ]
OSX.64=[  ]



Locall PC is Windws 10 64 and the another too.

How can I run my app on another PC?

In addition, after compilation, compiled dynamic library is in folder near .exe file. But app still does not find her.

in Engine by (54 points)
edited by

1 Answer

0 votes

Have you had a look on your dependencies of your dll?
Maybe you compiled the godot-cpp lib as debug version? (Which might be the default target in the SConstruct.

by (14 points)

What exactly does the [dependencies] section do? It doesn't seem to do anything. I just ended up using a relative link path for loading another DLL from mine.

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 Frequently asked questions and 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 [email protected] with your username.