I'm getting the following error. When starting a project in Intellij IDEA.
[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.
Stopping due to fatal error!
Successfully Wrote Crash Report!
java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.so
I have tried following https://www.youtube.com/watch?v=ZR9hNrnT2QE
under the "IntelliJ IDEA" subheader. Neither have worked and have given me that error message. I have also tried putting "-Dorg.lwjgl.util.DebugLoader=true" in the program arguments. But it seems to not give me any extra information. In eclipse I would fix this issue by adding the *natives*.jar files into the classpath section. But I don't think I am able to do that in intellij.
Also as expected both of the following lines return null.
What can I do to fix this?