Java – Library not found : libGLESv2. .dll

Library not found : libGLESv2. .dll… here is a solution to the problem.

Library not found : libGLESv2. .dll

I’m having trouble getting my IDEA IntelliJ workspace to work with Gradle scripts that should automatically set up LWJGL and other libraries. The script does set up the workspace and everything compiles without problems. The problem is that when running my code, I miss a missing .dll error.

Error log: http://pastebin.com/P8e7AgVW
Build script: http://pastebin.com/XSmskKyj

Examining the code output .dll folder shows that the files are missing. The problem is that LWJGL should automatically add additional .dll based on site. https://github.com/LWJGL/lwjgl3-wiki/wiki/1.2.-Install

In short, I don’t know what I’m doing and can use help to set up LWJGL. I also googled setup instructions, watched videos, and searched for error help. For the current version, everything is either irrelevant or outdated.

Solution

It is uncertain whether LWGL 3.1.1 includes libGLESv2.dll and its companion libEGL .dll.

If they are not provided by LWJGL, you can use the PowerVR SDK GLES emulator , which is in your native Runs on top of OpenGL.

Another option is Google’s ANGLE , which runs on top of DirectX 9 and/or DirectX 11. The Angle lighting is fast and runs very well on low-end GPUs – I mean laptops with Intel GPUs. If you’re in a hurry or want to skip compiling ANGLE from source, just go to your Chrome web browser installation folder and look for libegl.dll, libglesv2.dll, and < strong>d3dcompiler_47.dll

Once you have selected your OpenGL ES emulator, please put the above files into your PATH and/or java.classpath and have fun. In your case, the native path appears to be set at org.lwjgl.librarypath and assigned to the folder C:\Users\Rober\AppData\Local\Temp\lwjglRober\3.1.1-build -16.

Related Problems and Solutions