I downloaded the "OpenGL ES 1.0 Sample Implementation (Open Source Wrapper for Desktop OpenGL) " package from the website you mentioned. I tried to execute the vs.dsw, it says “gl_sin.h” is not available.
I am very new to OpenGL ES. I downloaded the “OpenGL ES 1.0 Sample Implementation (Open Source Wrapper for Desktop OpenGL)” package from http://www.khronos.org/opengles/documentation/html/eglIntro.html and then i unzip but i did not see “The vs.dsw file in the vs folder”. How can i run it?
Another question:
I create and “c” file in VC++ 6 run on Windows 2000 and copy and paste the example in “eglIntro - introduction to OpenGL ES in an EGL window system”. When i compiled it show error “fatal error C1083: Cannot open include file: ‘unistd.h’: No such file or directory
Error executing cl.exe.”. What should i do next in order to run this example?
The example code in the manual does not work for windows. You have to create a window class, create a window hooked up to your message loop, and create the rendering context based on the window device context of your window.
You need something like main.cpp and the InitOpenGL function from paint.cpp