PowerVR SDK_2016_R1.2

Hi,

I downloaded the above SDK. I am trying to run the example applications on Windows 7 using Visual Studio Express 2015 (I have also tried VS2013). I get the follow error when trying to run any of the examples. The callstack when the error occurs is;

OGLESIntroducingPVRApi.exe!pvr::system::PlatformContext::makeCurrent() Line 791 C++
OGLESIntroducingPVRApi.exe!pvr::system::StateMachine::executeOnce() Line 360 C++
OGLESIntroducingPVRApi.exe!pvr::system::StateMachine::execute() Line 263 C++
OGLESIntroducingPVRApi.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * __formal, char * lpCmdLine, int nCmdShow) Line 42 C++

The error occurs during the call to egl::MakeCurrent()

INFORMATION: EGL context creation: EGL_KHR_create_context supported
’OGLESIntroducingPVRApi.exe’ (Win32): Loaded ‘C:\Imagination\PowerVR_Graphics\PowerVR_Tools\PVRVFrame\Library\Windows_x86_32\libGLESv2.dll’. Module was built without symbols.
‘OGLESIntroducingPVRApi.exe’ (Win32): Unloaded 'C:\Imagination\PowerVR_Graphics\PowerVR_Tools\PVRVFrame\Library\Windows_x86_32\libGLESv2.dll’
VERBOSE: SUCCESS creating context! Reporting success.
VERBOSE: Maximum API level detected: OpenGL ES 3.1
INFORMATION: Unspecified target API – Setting to max API level : OpenGL ES 3.1
DEBUG: EGL context creation: EGL_OPENGL_ES3_BIT
DEBUG: EGL context creation: EGL_SAMPLE_BUFFERS 0
INFORMATION: EGL context creation: Number of EGL Configs found: 88
DEBUG: EGL context creation: Trying to find a for forced BPP compatible context support…
INFORMATION: EGL context creation: Trying to get OpenGL ES version : 3.1
INFORMATION: EGL context creation: EGL_KHR_create_context supported…
INFORMATION: EGL context creation: Trying to set EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR. Since no direct query is enabled, failure will need to be tested…
INFORMATION: EGL context creation: EGL_IMG_context_priority supported! Setting context HIGH priority (default)…
VERBOSE: Creating EGL context…
‘OGLESIntroducingPVRApi.exe’ (Win32): Loaded ‘C:\Imagination\PowerVR_Graphics\PowerVR_Tools\PVRVFrame\Library\Windows_x86_32\libGLESv2.dll’. Module was built without symbols.
‘OGLESIntroducingPVRApi.exe’ (Win32): Unloaded ‘C:\Imagination\PowerVR_Graphics\PowerVR_Tools\PVRVFrame\Library\Windows_x86_32\libGLESv2.dll’
VERBOSE: EGL context created. Updating Config Attributes to reflect actual context parameters…
VERBOSE: EGL Initialized Successfully
DEBUG: EGL Configuration
DEBUG: RedBits: 8
DEBUG: GreenBits: 8
DEBUG: BlueBits: 8
DEBUG: AlphaBits: 8
DEBUG: aaSamples: 0
DEBUG: FullScreen: false
’OGLESIntroducingPVRApi.exe’ (Win32): Loaded ‘C:\Imagination\PowerVR_Graphics\PowerVR_Tools\PVRVFrame\Library\Windows_x86_32\libGLESv2.dll’. Module was built without symbols.
‘OGLESIntroducingPVRApi.exe’ (Win32): Unloaded ‘C:\Imagination\PowerVR_Graphics\PowerVR_Tools\PVRVFrame\Library\Windows_x86_32\libGLESv2.dll’
‘OGLESIntroducingPVRApi.exe’ (Win32): Loaded ‘C:\Imagination\PowerVR_Graphics\PowerVR_Tools\PVRVFrame\Library\Windows_x86_32\libEGL.dll’. Module was built without symbols.
‘OGLESIntroducingPVRApi.exe’ (Win32): Unloaded 'C:\Imagination\PowerVR_Graphics\PowerVR_Tools\PVRVFrame\Library\Windows_x86_32\libEGL.dll’
First-chance exception at 0xBAADF00D in OGLESIntroducingPVRApi.exe: 0xC0000005: Access violation executing location 0xBAADF00D.
Unhandled exception at 0xBAADF00D in OGLESIntroducingPVRApi.exe: 0xC0000005: Access violation executing location 0xBAADF00D.

Hi D

Does the first example 01_HelloAPI also crash? The stack trace for that one should be different because it doesn’t use our framework.

Do the pre-built binaries also crash for you or is it only when you when you build them with VS?