Hey guys,
Here's my problem:
I've been following ZeusCMD tutorials on OpenGL, and when I tried compiling main.cpp
, I get an initializer error.
I am not sure what caused it, since it seems exactly the same as the example. I linked all libraries it tells me to (-lglu32 -lopengl32).
I'm using Code::Blocks on Windows Vista by the way.
Here's the clipboard error:
C:\Users\Renato\Desktop\Win32\glutil\main.cpp|3|error: expected initializer before '*' token|
C:\Users\Renato\Desktop\Win32\glutil\main.cpp||In function `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)':|
C:\Users\Renato\Desktop\Win32\glutil\main.cpp|26|error: `opengl' was not declared in this scope|
||=== Build finished: 2 errors, 0 warnings ===|