Compile error: undefined reference to class constructor even though it is included

You are redeclaring Shader in this file. You define declared class members with Shader:: in this instance:

Shader::Shader(const char*, const char*)
{
    // …
}
1 Like