-
-
Notifications
You must be signed in to change notification settings - Fork 26
RustBackendLoader: "Can't find dependent libraries" - libgcc_s_seh-1.dll #46
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
Comments
Trimmed dumpbin output
|
User comment:
|
We had a crash which may have been caused by %TEMP% being cleared at the wrong time. We add a more viable exception if this is the case to see if we can track down the problem Fixes #46
Knowing the OS will be useful in diagnosing bugs Fixes #46
We had a crash which may have been caused by %TEMP% being cleared at the wrong time. We add a more viable exception if this is the case to see if we can track down the problem Fixes #46
Knowing the OS will be useful in diagnosing bugs Fixes #46
For testing:
|
Was suggested to try |
A user using robolectric for windows will need to have GCC installed This isn't ideal, but I wasn't able to find the correct linker documentation to disable this behavior Related: #46
Just to note, libgcc_s_seh-1.dll has a dependency on libwinpthread-1.dll if both are in your PATH, then the library will load and the tests should run ok, without installing all of gcc |
Hey, I reproduce this now! Reproduction is half the battle. I hadn't tried to run it on windows yet but At some point I can play around with this at the same time as I attempt work on ankidroid/Anki-Android#10538 (comment) |
Everyone should use a package manager, and on windows I use chocolatey, install it like so https://chocolatey.org/install#install-step2 Then:
And now the DLLs should be on PATH after a shell restart, you can investigate in a new powershell with this:
...and you should see this:
Still want to investigate bundling those dlls somehow or doing the static link flag referenced above |
Currently the dll to test
Anki-Android-Backend
under robolectric on Windows links tolibgcc_s_seh-1.dll
This means that developers must install GCC to unit test
Anki-Android
.ankidroid/Anki-Android#8345 (comment)
The text was updated successfully, but these errors were encountered: