Build OpenGL ES 2.0 development environment under Win7

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.