Hi everyone,
I need help to setup opengl on codeblock, Im struggling to get rid of the following errors:
Language: C++
C:\Users\innocent\Documents\testing\testing\main.cpp|5|warning: "FREEGLUT_STATIC" redefined|
:5|1|warning: this is the location of the previous definition|
C:\Users\innocent\Documents\testing\testing\main.cpp||In function `void init()';:|
C:\Users\innocent\Documents\testing\testing\main.cpp|38|error: `glGenVertexArrays'; undeclared (first use this function)|
C:\Users\innocent\Documents\testing\testing\main.cpp|38|error: (Each undeclared identifier is reported only once for each function it appears in.)|
C:\Users\innocent\Documents\testing\testing\main.cpp|39|error: `glBindVertexArray'; undeclared (first use this function)|
C:\Users\innocent\Documents\testing\testing\CheckError.h|38|warning: ';void _CheckError(const char*, int)'; defined but not used|
STATIC||No such file or directory|
STATIC||No such file or directory|
||=== Build finished: 5 errors, 3 warnings (0 minutes, 1 seconds) ===|