Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: syntax error, unexpected NEW_IDENTIFIER #57

Open
ThanosFisherman opened this issue Sep 16, 2024 · 0 comments
Open

error: syntax error, unexpected NEW_IDENTIFIER #57

ThanosFisherman opened this issue Sep 16, 2024 · 0 comments

Comments

@ThanosFisherman
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant