Setting up a Project in Windows

Instructions for initially setting up a Visual Studio project for PVRVFrame

The DLL files that match the version of OpenGL ES that is to be targeted must be 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. Add the following directory to the include paths of the project:
    <SDKPackage>\Builds\Include\
  3. Link against the supplied libraries. For OpenGL ES 1.1 projects, it is only required to link against libGLES_CM.lib. For OpenGL ES 2.0 and higher, it is required to link against both libEGL.lib and libGLESv2.lib.