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 when attempting to run #34

Open
ayushpatel4 opened this issue Aug 10, 2023 · 0 comments
Open

Error when attempting to run #34

ayushpatel4 opened this issue Aug 10, 2023 · 0 comments

Comments

@ayushpatel4
Copy link

When I attempt to run the software I get this error.
Traceback (most recent call last): File "Tsugite_app.py", line 74, in initializeGL File "Show.py", line 12, in _init_ File "Show.py", line 53, in create_color_shaders File "OpenGL\GL\shaders.py", line 235, in compileShader OpenGL.GL.shaders.ShaderCompilationError: ('Shader compile failure (0): b"ERROR: 0:4: \'#extension\' : \'GL_ARB_explicit_uniform_location\' is not supported\\nERROR: 0:8: \'location layout qualifier\' : not supported \\nERROR: 0:9: \'location layout qualifier\' : not supported \\nERROR: 0:10: \'location layout qualifier\' : not supported \\nERROR: 0:15: \'transform\' : undeclared identifier \\nERROR: 0:15: \'translate\' : undeclared identifier \\nERROR: 0:15: \'position\' : undeclared identifier \\nERROR: 0:15: \'constructor\' : not enough data provided for construction \\nERROR: 0:16: \'newColor\' : undeclared identifier \\nERROR: 0:16: \'myColor\' : undeclared identifier \\nERROR: 0:17: \'outTexCoords\' : undeclared identifier \\nERROR: 0:17: \'inTexCoords\' : undeclared identifier \\n\\n"', [b'\n #version 330\n #extension GL_ARB_explicit_attrib_location : require\n #extension GL_ARB_explicit_uniform_location : require\n layout(location = 0) in vec3 position;\n layout(location = 1) in vec3 color;\n layout(location = 2) in vec2 inTexCoords;\n layout(location = 3) uniform mat4 transform;\n layout(location = 4) uniform mat4 translate;\n layout(location = 5) uniform vec3 myColor;\n out vec3 newColor;\n out vec2 outTexCoords;\n void main()\n {\n gl_Position = transform* translate* vec4(position, 1.0f);\n newColor = myColor;\n outTexCoords = inTexCoords;\n }\n '], GL_VERTEX_SHADER)

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

2 participants
@ayushpatel4 and others