Http://codingnow.cn/opengles/1501.html
===================================================================
1. download the simulator for AMD's OpenGL ES2.0 :
Http://www.opengles-book.com/ESEmulator.2009-04-28-v1.4.APRIL_2009_RELEASE.msi
2. Download The example code from the OpenGL ES2.0 Programming Guide :
Http://www.opengles-book.com/OpenGL_ES_Programming_Guide_v1.0.2.zip
3. Install vs , the vs2012 is installed on my machine.
4. Install the OpenGL ES2.0 emulator and install the Amd\opengl ES 2.0 Emulator v1.4\bin in the installation directory and Amd\opengl in 2.0 es Emulator v1.4\lib libegl The. dll, LibGLESv2.dll, and LibEGL.lib, LibGLESv2.lib are copied to the Vs2012\vc bin and Lib folders respectively.
5. Unzip The example code downloaded above
6. Open the SLn file under Opengl_es_programming_guide_v1.0.2\chapter_2\hello_triangle
7. If a solution appears similar to does not match the Linker's OutputFile property value ... The warning message that the program runs will prompt you not to find the EXE file solution:
(1) Right-click Project Esutil, Configuration Properties-Library Manager-General-output file, change $ (OutDir) Esutil_d.lib to $ (OutDir) EsUtil.lib
(2) Right-click Project Hello_triangle:
Configuration Properties-linker-general, change the output file to: debug\$ (ProjectName). exe
Input-Additional dependencies: Esutil_d.lib converted to EsUtil.lib
Rebuild the solution and run the following:
Build OpenGL ES 2.0 development environment under Win7