| |||
| Home > Installation and Configuration on Linux > Configuring the OpenGL ES 2.0 Emulator on Linux > Using the OpenGL ES 2.0 Emulator | |||
Your OpenGL ES 2.0 application must use the OpenGL ES 2.0 libraries:
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
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.