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 |
---|---|
|
PVRVFrame driver file for EGL 1.4 |
|
PVRVFrame driver file for OpenGL ES 1.1 |
|
PVRVFrame driver file for OpenGL ES 2.0 and higher |
|
Import (“stub”) library for use when linking against libEGL.dll |
|
Import (“stub”) library for use when linking against libGLES_CM.dll |
|
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:
Create a new Visual C project, adding source and include files as necessary.
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 bothlibEGL.lib
andlibGLESv2.lib
.