I am trying to move an OpenGL application to Windows.
I realized that Windows has a decent OpenGL implementation. But I'm starting to think that this is not so ...
In particular, I use array buffers and glDrawArrays .
When I tried to compile my code in Visual Studio 2008 Pro, I received the following errors:
vertexbuffers.cpp (31): error C3861: 'glGenBuffers': identifier not found
vertexbuffers.cpp (32): error C2065: 'GL_ARRAY_BUFFER': undeclared identifier
vertexbuffers.cpp (32): error C3861: 'glBindBuffer': identifier not found
vertexbuffers.cpp (33): error C2065: 'GL_ARRAY_BUFFER': undeclared identifier
vertexbuffers.cpp (33): error C2065: 'GL_STATIC_DRAW': undeclared identifier
vertexbuffers.cpp (33): error C3861: 'glBufferData': identifier not found
When I examined <GL\gl.h> (contained in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\gl ), I saw:
Refresh , but it looks like these members will be defined elsewhere.
How can I create buffers if I do not have access to these functions?
The documentation does not indicate that these types of arrays are disabled. How to access real implementation in OpenGL on Windows?
source share