I am very new to OPENGL I am programing in Visual C++ and I include the following:
#include <gl/gl.h>
#include <gl/glu.h>
#include <windows.h>
void main(){ ; }
and I get back the errors:
(1) error C2144: syntax error : missing ‘;’ before type ‘void’
(2)error C2501: ‘WINGDIAPI’ : missing storage-class or type specifiers
(3) fatal error C1004: unexpected end of file found
and error exe cl.exe
I am pretty sure I linked the .lib’s