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

GitHub | jodok8 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.RuntimeException: Cannot compile vertex shader

    GitHub | 8 months ago | jodok8
    java.lang.RuntimeException: Cannot compile vertex shader: 0:1(11): error: syntax error, unexpected EOL, expecting INTCONSTANT
  2. 0

    GitHub comment 3617#131369704

    GitHub | 2 years ago | codeanticode
    java.lang.RuntimeException: Cannot compile vertex shader: ERROR: 0:1: '' : version '130' is not supported ERROR: 0:2: '' : #version required and missing.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.RuntimeException

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

      at processing.core.PGraphics.showException()
    2. processing.core
      PGraphics.showException
      1. processing.core.PGraphics.showException(PGraphics.java:8199)
      1 frame
    3. processing.opengl
      PGraphicsOpenGL.endDraw
      1. processing.opengl.PShader.compileVertexShader(PShader.java:976)
      2. processing.opengl.PShader.compile(PShader.java:912)
      3. processing.opengl.PShader.init(PShader.java:889)
      4. processing.opengl.PShader.getAttributeLoc(PShader.java:590)
      5. processing.opengl.PShader.loadAttributes(PShader.java:1113)
      6. processing.opengl.PGraphicsOpenGL.getPolyShader(PGraphicsOpenGL.java:7098)
      7. processing.opengl.PGraphicsOpenGL.flushPolys(PGraphicsOpenGL.java:2411)
      8. processing.opengl.PGraphicsOpenGL.flush(PGraphicsOpenGL.java:2348)
      9. processing.opengl.PGraphicsOpenGL.endDraw(PGraphicsOpenGL.java:1526)
      9 frames
    4. processing.core
      PApplet.handleDraw
      1. processing.core.PApplet.handleDraw(PApplet.java:2430)
      1 frame
    5. processing.opengl
      PSurfaceJOGL$DrawListener.display
      1. processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:871)
      1 frame
    6. JOGL
      FPSAnimator$MainTask.run
      1. jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
      2. jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
      3. jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
      4. jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
      5. jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
      6. com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
      7. com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
      8. com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
      9. com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
      9 frames
    7. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:555)
      2. java.util.TimerThread.run(Timer.java:505)
      2 frames