Skip to content

error: syntax error, unexpected NEW_IDENTIFIER #57

@ThanosFisherman

Description

@ThanosFisherman

There are several examples from opengl package such as GrassDemo among others that would crash with the following error on my arch linux machine

[LWJGL] OpenGL debug message
	ID: 0x1
	Source: SHADER COMPILER
	Type: OTHER
	Severity: HIGH
	Message: 0:6(12): warning: extension `GL_NV_non_square_matrices' unsupported in vertex shader
[LWJGL] OpenGL debug message
	ID: 0x2
	Source: SHADER COMPILER
	Type: ERROR
	Severity: HIGH
	Message: 0:28(9): error: syntax error, unexpected NEW_IDENTIFIER, expecting ',' or ';'
0:6(12): warning: extension `GL_NV_non_square_matrices' unsupported in vertex shader
0:28(9): error: syntax error, unexpected NEW_IDENTIFIER, expecting ',' or ';'

Exception in thread "main" java.lang.AssertionError: Could not compile shader
	at org.lwjgl.demo.opengl.util.DemoUtils.createShader(DemoUtils.java:164)
	at org.lwjgl.demo.opengl.util.DemoUtils.createShader(DemoUtils.java:112)
	at org.lwjgl.demo.opengl.instancing.GrassDemo.createGrassProgram(GrassDemo.java:207)
	at org.lwjgl.demo.opengl.instancing.GrassDemo.run(GrassDemo.java:138)
	at org.lwjgl.demo.opengl.instancing.GrassDemo.main(GrassDemo.java:376)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions