Closed Ristellise closed 5 years ago
Alright. Found out that I have to include #include <globjects/base/File.h>
and change the lines to:
auto shaderSource = globjects::Shader::sourceFromFile(vertexShaderFile);
auto shader2 = new Shader(GL_FRAGMENT_SHADER, shaderSource.get());
Hello.
In the readme.md, it's stated that I can do the following:
However, when I tried to use it, VS tells me it expects a type specifier.
Here's my code currently:
I'm guess im missing some
.h
include files. but I can't seem to figure out which ones are missing. Is it possible to have the#include
files so that it compiles properly? thanks.