I was following tutorial no.10 and whenever i try to run my code after adding in the parts to load "basicVertex" and "BasicFragment" shaders, I keep getting the error in the title. My code is identical to Benny's.
basicFragment.fs:
#version 330
out vec3 fragColor;
void main()
{
fragColor = vec4(0.0, 1.0, 1.0, 1.0);
}
basicVertex.vs:
#version 330
layout (location = 0) in vec3 position;
void main()
{
gl_Position = vec4(0.25 * position, 1.0);
}