3.2.1. Using the OpenGL ES 2.0 Emulator

Your OpenGL ES 2.0 application must use the OpenGL ES 2.0 libraries:

  1. To build an OpenGL ES 2.0 application on the OpenGL ES 2.0 Emulator, you must provide the path to libGLESv2.so and libEGL.so during link stage. Use the command:

    -L path_to_emulator/bin
    
  2. Before you can run OpenGL ES 2.0 applications, the library search path must include the required OpenGL ES 2.0 Emulator libraries. To add the path of the Emulator libraries to the system environment variable LD_LIBRARY_PATH:

    • The command to do this using the bash Linux shell is:

                          export LD_LIBRARY_PATH=<installation root directory for OpenGL ES 2.0 Emulator>/bin
      
    • The command to do this using the tcsh Linux shell is:

                          setenv LD_LIBRARY_PATH <installation root directory for OpenGL ES 2.0 Emulator>/bin
      

For information on building the Cube example, see Building the OpenGL ES 2.0 Cube example on Linux.

Copyright © 2009-2010 ARM. All rights reserved.ARM DUI 0511C
Non-ConfidentialID072410