java.lang.RuntimeException: Cannot compile vertex shader: 0:1(11): error: syntax error, unexpected EOL, expecting INTCONSTANT

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jodok8
, 1 year ago
Cannot compile vertex shader: 0:1(11): error: syntax error, unexpected EOL, expecting INTCONSTANT
via GitHub by codeanticode
, 2 years ago
Cannot compile vertex shader: ERROR: 0:1: '' : version '130' is not supported ERROR: 0:2: '' : #version required and missing.
java.lang.RuntimeException: Cannot compile vertex shader: 0:1(11): error: syntax error, unexpected EOL, expecting INTCONSTANT
at processing.core.PGraphics.showException(PGraphics.java:8199)
at processing.opengl.PShader.compileVertexShader(PShader.java:976)
at processing.opengl.PShader.compile(PShader.java:912)
at processing.opengl.PShader.init(PShader.java:889)
at processing.opengl.PShader.getAttributeLoc(PShader.java:590)
at processing.opengl.PShader.loadAttributes(PShader.java:1113)
at processing.opengl.PGraphicsOpenGL.getPolyShader(PGraphicsOpenGL.java:7098)
at processing.opengl.PGraphicsOpenGL.flushPolys(PGraphicsOpenGL.java:2411)
at processing.opengl.PGraphicsOpenGL.flush(PGraphicsOpenGL.java:2348)
at processing.opengl.PGraphicsOpenGL.endDraw(PGraphicsOpenGL.java:1526)
at processing.core.PApplet.handleDraw(PApplet.java:2430)
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:871)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.