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

Fails to Run on Mac OS #22

Open
wyatt-herkamp opened this issue Mar 21, 2020 · 2 comments
Open

Fails to Run on Mac OS #22

wyatt-herkamp opened this issue Mar 21, 2020 · 2 comments

Comments

@wyatt-herkamp
Copy link
Member

Basically the Engine Test wont start on MacOS.

    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.dylib
    at org.lwjgl.system.Library.loadSystem(Library.java:162)
    at org.lwjgl.system.Library.loadSystem(Library.java:62)
    at org.lwjgl.system.Library.<clinit>(Library.java:50)
    at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:97)
    at org.lwjgl.system.Pointer$Default.<clinit>(Pointer.java:67)
    at org.lwjgl.system.Callback.<clinit>(Callback.java:41)
    at org.kakara.engine.gui.Window.init(Window.java:54)
    at org.kakara.engine.GameEngine.init(GameEngine.java:51)
    at org.kakara.engine.GameEngine.run(GameEngine.java:42)
    at org.kakara.engine.test.Main.main(Main.java:15)

Process finished with exit code 1```
@ryandw11
Copy link
Member

Was this compiled onto a jar file or ran in intellij?

@wyatt-herkamp
Copy link
Member Author

Intellij.

@wyatt-herkamp wyatt-herkamp changed the title Fails to Run on MACOs Fails to Run on Mac OS Jan 16, 2021
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