LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
I downloaded a customized build, and followed these steps, choosing the option 'in the Sources tab add all .jar files with sources in their name', in Netbeans.
I tried the other options, but they all failed.
What worked for me, was adding the .jar files to Libraries in the Project Tree.
However, the jars still aren't found.
I get this error:
[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.
Question
I downloaded a customized build, and followed these steps, choosing the option 'in the Sources tab add all .jar files with sources in their name', in Netbeans.
I then used the little test example on this page, but the build fails.
error: package org.lwjgl does not exist
I tried the other options, but they all failed. What worked for me, was adding the .jar files to Libraries in the Project Tree. However, the jars still aren't found. I get this error:
I'm using Netbeans 8.2 on Windows.