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

Why am I getting these errors? #28

Open
CHJ85 opened this issue Mar 8, 2022 · 2 comments
Open

Why am I getting these errors? #28

CHJ85 opened this issue Mar 8, 2022 · 2 comments

Comments

@CHJ85
Copy link

CHJ85 commented Mar 8, 2022

java -jar sa2dx_v0.21.jar
[LWJGL] Failed to load a library. Possible solutions:
a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
b) Add the JAR that contains the shared library to the classpath.
[LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
[LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.so
at org.lwjgl.system.Library.loadSystem(Library.java:162)
at org.lwjgl.system.Library.loadSystem(Library.java:62)
at org.lwjgl.system.Library.(Library.java:50)
at org.lwjgl.system.MemoryUtil.(MemoryUtil.java:97)
at org.lwjgl.system.Pointer$Default.(Pointer.java:67)
at org.lwjgl.system.Callback.(Callback.java:41)
at main.Window.init(Window.java:74)
at main.Window.run(Window.java:61)
at main.Loader.main(Loader.java:256)

@Mythical-Atlas
Copy link
Owner

I'm amazed that anyone is looking at this repo 😂. I've actually been working on a C# version to get away from these weird issues with Java. Do you have the LWJGL jar file in the same directory as the game jar?

@CHJ85
Copy link
Author

CHJ85 commented Mar 8, 2022

Oh. No I just downloaded and ran the release file. Maybe I should try downloading the source code instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants