A
A
Anton Borisenko2017-02-16 18:48:50
Java
Anton Borisenko, 2017-02-16 18:48:50

Why did the game stop running on desktop?

I am writing a game in Android Studio in Java with libgdx. At some point, the game started to give an error on the desktop. Everything works fine on the emulator and the real device. Here is what he writes:

org.lwjgl.LWJGLException: Could not locate OpenAL library.
  at org.lwjgl.openal.AL.create(AL.java:156)
  at org.lwjgl.openal.AL.create(AL.java:102)
  at org.lwjgl.openal.AL.create(AL.java:206)
  at com.badlogic.gdx.backends.lwjgl.audio.OpenALAudio.<init>(OpenALAudio.java:72)
  at com.badlogic.gdx.backends.lwjgl.LwjglApplication.<init>(LwjglApplication.java:88)
  at com.badlogic.gdx.backends.lwjgl.LwjglApplication.<init>(LwjglApplication.java:69)
  at com.mygdx.homeless.desktop.DesktopLauncher.main(DesktopLauncher.java:16)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
LwjglGraphics: created OpenGL 3.2+ core profile (GLES 3.0) context. This is experimental!
Exception in thread "LWJGL Application" java.lang.IllegalArgumentException: Error compiling shader: Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors.  No code generated

Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors.  No code generated


  at com.badlogic.gdx.graphics.g2d.SpriteBatch.createDefaultShader(SpriteBatch.java:161)
  at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:124)
  at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:78)
  at com.mygdx.homeless.MenuScreen.<init>(MenuScreen.java:17)
  at com.mygdx.homeless.GameController.create(GameController.java:23)
  at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:149)
  at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dimkss, 2017-11-28
@dimkss

Look away
> Implicit version number 110 not supported by GL3 forward compatible context

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question