Setting up a Project in Windows#

The target version of OpenGL ES must have its matching DLL files in a folder in the %PATH% environment variable or in the directory the application is running from.

The DLL and LIB files for Windows included with PVRVFrame are:

Content

Description

libEGL.dll

PVRVFrame driver file for EGL 1.4

libGLES_CM.dll

PVRVFrame driver file for OpenGL ES 1.1

libGLESv2.dll

PVRVFrame driver file for OpenGL ES 2.0 and higher

libEGL.lib

Import (“stub”) library for use when linking against libEGL.dll

libGLES_CM.lib

Import (“stub”) library for use when linking against libGLES_CM.dll

libGLESv2.lib

Import (“stub”) library for use when linking against libGLESv2.dll

With the DLL files in place, a Visual Studio project can be set up as follows:

  1. Create a new Visual C project, adding source and include files as necessary.

  2. Link against the supplied libraries. For OpenGL ES 1.1 projects, you only need to link against libGLES_CM.lib. For OpenGL ES 2.0 and higher, link against both libEGL.lib and libGLESv2.lib.