Skip to content
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

[Windows] Failed to load native libs if username has non UTF-8 characters. #128

Open
telekinetic1 opened this issue Mar 30, 2022 · 3 comments
Labels
bug crash report Crash reports sent from a built-in issue constructor

Comments

@telekinetic1
Copy link

Application Log
Version: 4.10.2
OS: Windows 10 10.0 amd64
JRE: 17.0.2 Oracle Corporation
com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'gdx64.dll' for target: Windows 10, 64-bit
	at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:126)
	at com.badlogic.gdx.utils.GdxNativesLoader.load(GdxNativesLoader.java:31)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3NativesLoader.load(Lwjgl3NativesLoader.java:28)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.initializeGlfw(Lwjgl3Application.java:80)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:91)
	at com.crashinvaders.texturepackergui.desktop.ApplicationStarter.start(ApplicationStarter.java:57)
	at com.crashinvaders.texturepackergui.desktop.ApplicationStarter.main(ApplicationStarter.java:35)
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: java.lang.UnsatisfiedLinkError: C:\Users\?L?FE\AppData\Local\Temp\libgdx?L?FE\e1cd32f8\gdx64.dll: Can't find dependent libraries
	at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:322)
	at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:122)
	... 6 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\?L?FE\AppData\Local\Temp\libgdx?L?FE\e1cd32f8\gdx64.dll: Can't find dependent libraries
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2389)
	at java.base/java.lang.Runtime.load0(Runtime.java:755)
	at java.base/java.lang.System.load(System.java:1953)
	at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:328)
	at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:297)
	... 7 more
@telekinetic1 telekinetic1 added the crash report Crash reports sent from a built-in issue constructor label Mar 30, 2022
@metaphore
Copy link
Member

Hi there!
I understand you had something wrong on your end, but in case others can run into the same case, could you please share what was the problem?

@DigitalSmile
Copy link

I have the same issue, it seems if you have a windows user with non-latin symbols you cannot run it.

@metaphore metaphore reopened this Jul 10, 2022
@metaphore metaphore added the bug label Jul 10, 2022
@metaphore metaphore changed the title Crash report - the application won't open [Windows] Failed to load native libs if username has non UTF-8 characters. Jul 10, 2022
@Frosty-J
Copy link
Contributor

Related: libgdx/libgdx#5524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash report Crash reports sent from a built-in issue constructor
Projects
None yet
Development

No branches or pull requests

4 participants