# can't build the samples of powervr sdk

**URL:** <https://forums.imgtec.com/t/cant-build-the-samples-of-powervr-sdk/2012>\
**Category:** PowerVR Insider\
**Tags:** pvrvframe\
**Created:** [March 3, 2014, 11:32am UTC](https://forums.imgtec.com/t/cant-build-the-samples-of-powervr-sdk/2012 "2014-03-03T11:32:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aicha11](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aicha11](https://forums.imgtec.com/u/aicha11)\
**Post date:** [March 3, 2014, 11:32am UTC](https://forums.imgtec.com/t/cant-build-the-samples-of-powervr-sdk/2012/1 "2014-03-03T11:32:51Z")

</div>

when I execute the powervr samples opengl es 2.0 I got this error  
  
  
  
PVRShell: EGL 1.4 initialized  
  
Exit message has been set to: “PVRShell: Unable to create a context  
  
”.  
  
InitAPI failed!  
  
  
  
any idea about this error?  
  
I run it on windows 7 using VS 2010 and my graphic card can support opengl 2.0  
  
thinks to answer me

---

<div class="post-metadata">

**Author:** ![ChrisPenrose](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@ChrisPenrose](https://forums.imgtec.com/u/ChrisPenrose)\
**Post date:** [March 4, 2014, 2:25pm UTC](https://forums.imgtec.com/t/cant-build-the-samples-of-powervr-sdk/2012/2 "2014-03-04T14:25:19Z")

</div>

Hi Aicha  
  
  
  
It could be that you have a hardware profile selected which doesn’t support ES 2.0, so the application is failing to create an ES 2.0 context. Can you run PVRVFrameGUI and ensure that “Host” is selected from the dropdown menu and see if the problem persists?

---

<div class="post-metadata">

**Author:** ![aicha11](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aicha11](https://forums.imgtec.com/u/aicha11)\
**Post date:** [March 4, 2014, 2:49pm UTC](https://forums.imgtec.com/t/cant-build-the-samples-of-powervr-sdk/2012/3 "2014-03-04T14:49:40Z")

</div>

ok

---

<div class="post-metadata">

**Author:** ![ChrisPenrose](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@ChrisPenrose](https://forums.imgtec.com/u/ChrisPenrose)\
**Post date:** [March 4, 2014, 5:16pm UTC](https://forums.imgtec.com/t/cant-build-the-samples-of-powervr-sdk/2012/4 "2014-03-04T17:16:21Z")

</div>

ES 2.0 apps should work with the SGX540 profile, so perhaps the profile information is not being loaded correctly for some reason. Can you confirm that you still have the issue when you select “Host” in the GUI? This will help us determine if the problem lies with the hardware profile or elsewhere.

---

<div class="post-metadata">

**Author:** ![aicha11](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aicha11](https://forums.imgtec.com/u/aicha11)\
**Post date:** [March 4, 2014, 6:38pm UTC](https://forums.imgtec.com/t/cant-build-the-samples-of-powervr-sdk/2012/5 "2014-03-04T18:38:30Z")

</div>

thanks a lot i choose “host” as a profile and it works and it works 😃

---

<div class="post-metadata">

**Author:** ![aicha11](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@aicha11](https://forums.imgtec.com/u/aicha11)\
**Post date:** [March 4, 2014, 7:28pm UTC](https://forums.imgtec.com/t/cant-build-the-samples-of-powervr-sdk/2012/6 "2014-03-04T19:28:41Z")

</div>

when I run the samples which use pvrtools the error was  
  
PVRShell: EGL 1.4 initialized  
  
Exception de première chance à 0x00000000 dans OGLES2IntroducingPVRTools.exe : 0xC0000005: Access violation.  
  
the samples opengl es 2.0 doesn’t work but samples opengl es 1.1 work  
  
thanks to answer me
