Forums - Unable to run sample exe's on ADRENO SDK Browser

17 posts / 0 new
Last post
Unable to run sample exe's on ADRENO SDK Browser
Vrushali
Join Date: 5 Mar 13
Posts: 5
Posted: Tue, 2013-03-12 02:32

Hi All,

I have installed latest ADRENO SDK from the site and was trying to run the sample EXE's provided. However I am facing the following issue while running the exe's:-

  Emulator Failure: Could not initialize WGL entry point: wglGetPixelFormatAttribivARB

                                  EglGetConfigs Failed

Please let me know how to tackle it.        

 

  • Up0
  • Down0
Manjuladevi Kuttuva
Profile picture
Join Date: 26 Oct 12
Location: San Diego
Posts: 5
Posted: Tue, 2013-03-12 11:27

It looks like it is related to your graphic driver. Do you have the updated version of your graphics driver installed?

  • Up0
  • Down0
Vrushali
Join Date: 5 Mar 13
Posts: 5
Posted: Wed, 2013-03-13 05:42

Hi Manju,

Thanks for your reply. I checked the graphics driver on my machine. I have ATI Mobility Radeon HD 5470 on my machine. I tried to update it and it says that it is up-to-date. Still I am facing the issue. I tried to re-install ADRENO SDK, but still facing the same issue. Any suggestions please?

 

Thanks

~ Vrushali

  • Up0
  • Down0
Dave Astle
Profile picture
Join Date: 19 Oct 12
Location: San Diego, CA
Posts: 101
Posted: Wed, 2013-03-13 08:15

Hi Vrushali,

I'm not sure that your GPU is capable of running the samples. The emulator was recently upgraded to support OpenGL ES 3.0. We implement OpenGL ES on top of desktop GL, and OpenGL ES 3.0 requires that the desktop GPU support at least OpenGL 3.3. According to AMD, your GPU only supports OpenGL 3.2, so I suspect this is why you're having issues running the samples.

  • Up0
  • Down0
Vrushali
Join Date: 5 Mar 13
Posts: 5
Posted: Thu, 2013-03-14 23:13

Hi Dave,

Thanks for your reply. Do you suggest any work around for this? I am facing problems in getting trained for Adreno. Also is their any documentation available how to use Adreno Profiler. Didn't find anything relevant on qualcomm site.

Thanks

  • Up0
  • Down0
GameDeveloper
Join Date: 1 Mar 13
Posts: 2
Posted: Fri, 2013-03-22 02:10

Hi,

 I have just ventured into the graphics world . I am trying to setup the Adreno SDK , profiler etc.

I would like to first set it up on my PC( Windows 7 ) ( emulation ) before trying it on real device.

so do we have any documentation for beginers --> Adreno setup pre-requisites, installation steps etc for beginers ?

My PC configuration : Standard VGA Graphics Card Adaptor , GPU GT2+ ,Windows 7.

Thanks

Game Developer

  • Up0
  • Down0
GameDeveloper
Join Date: 1 Mar 13
Posts: 2
Posted: Fri, 2013-03-22 03:21

Hi ,

This tool gives you details of the Driver version etc : http://www.realtech-vr.com/support/download.php

I have used this and found that OpenGL Version on my PC is 1.1 . ( Not sure if I can still play around with Adreno SDK)

Thanks

Game Developer

  • Up0
  • Down0
Vrushali
Join Date: 5 Mar 13
Posts: 5
Posted: Tue, 2013-03-26 03:52

The link provided above is getting refreshed everytime and the icons are not visible. What might be the issue?

  • Up0
  • Down0
mgrossm
Join Date: 26 Apr 13
Posts: 3
Posted: Mon, 2013-04-29 10:01

Building the Image Effects sample - using Visual Studio Ultimate 2012 on Windows 8

1>c:\adrenosdk\samples\framework\frmapplication.h(78): error C2653: 'Microsoft' : is not a class or namespace name

Is the SDK tested w/ my environment?

Code snippet:

#ifndef WINAPI_FAMILY

 

[snip]

 

#else

Microsoft::WRL::ComPtr<ID3D11RenderTargetView> m_windowRenderTargetView;

...

 

 

  • Up0
  • Down0
mgrossm
Join Date: 26 Apr 13
Posts: 3
Posted: Mon, 2013-04-29 16:52

Guessing from poking around that the answer is "no", I switched over to the D3D samples. I got Hello Triangle to run - however I had to add this to FrmFile_Platform.cpp to resolve a reference to FrmFile_Close:

VOID FrmFile_Close( FRM_FILE* pFile, UINT32 nDirection )
{
fclose( pFile );
}

  • Up0
  • Down0
joesurf433
Join Date: 28 Apr 13
Posts: 3
Posted: Mon, 2013-04-29 21:49

I'm getting the following error when I try and run the PointSprite sample:

LegalArgumentException: unable to find native: PointSprites

 

Any suggestions?

  • Up0
  • Down0
mgrossm
Join Date: 26 Apr 13
Posts: 3
Posted: Tue, 2013-04-30 13:58

Works for me...

  • Up0
  • Down0
joesurf433
Join Date: 28 Apr 13
Posts: 3
Posted: Tue, 2013-04-30 14:44

do you have to download the gl3.0 so libraries onto your device?

  • Up0
  • Down0
Dave Astle
Profile picture
Join Date: 19 Oct 12
Location: San Diego, CA
Posts: 101
Posted: Wed, 2013-05-01 06:54

mgrossm: No, we have not really tested the SDK with Windows 8 yet. We'll look into resolving the issues you've identified.

  • Up0
  • Down0
Dave Astle
Profile picture
Join Date: 19 Oct 12
Location: San Diego, CA
Posts: 101
Posted: Wed, 2013-05-01 06:58

What device are you trying to run the sample on? There are only a handful of devices currently available that support OpenGL ES 3.0. The 3.0 samples in the SDK assume that 3.0 support is present on the device, and they don't fail gracefully if that's not the case. The OpenGL ES 3.0 Extension Library in the SDK provides a more robust approach to identifying whether 3.0 support is present before trying to use it.

  • Up0
  • Down0
joesurf433
Join Date: 28 Apr 13
Posts: 3
Posted: Wed, 2013-05-01 09:11

I have a new Nexus 4 and I'm compiling on and running it from Eclipse on Windows 8.  I really want to learn how to make it work. Thanks for your help.

  • Up0
  • Down0
harish412
Join Date: 4 Apr 14
Posts: 1
Posted: Tue, 2014-09-30 02:50

I am getting below build erros  with visual studio 2013

SDK verison: 3.5.1 

How to resolve below build errors ?

 

================ errors =====================================

Error 1 error C2653: 'Microsoft' : is not a class or namespace name c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps

Error 2 error C2143: syntax error : missing ';' before '<' c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 4 error C2238: unexpected token(s) preceding ';' c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 5 error C2653: 'Microsoft' : is not a class or namespace name c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 6 error C2143: syntax error : missing ';' before '<' c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 7 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 8 error C2238: unexpected token(s) preceding ';' c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 9 error C2065: 'm_OpenGLESVersion' : undeclared identifier c:\adrenosdk\development\samples\opengles30\cascadedshadowmaps\scene.cpp 52 1 CascadedShadowMaps
Error 10 error C2065: 'GLES3' : undeclared identifier c:\adrenosdk\development\samples\opengles30\cascadedshadowmaps\scene.cpp 52 1 CascadedShadowMaps
Error 11 error C2653: 'Microsoft' : is not a class or namespace name c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 12 error C2143: syntax error : missing ';' before '<' c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 13 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 14 error C2238: unexpected token(s) preceding ';' c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 15 error C2653: 'Microsoft' : is not a class or namespace name c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 16 error C2143: syntax error : missing ';' before '<' c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 17 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 18 error C2238: unexpected token(s) preceding ';' c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 19 error C2146: syntax error : missing ';' before identifier 'm_hWindow' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 25 1 CascadedShadowMaps
Error 20 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 25 1 CascadedShadowMaps
Error 21 error C2146: syntax error : missing ';' before identifier 'm_hDisplay' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 26 1 CascadedShadowMaps
Error 22 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 26 1 CascadedShadowMaps
Error 23 error C2061: syntax error : identifier 'NativeWindowType' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 29 1 CascadedShadowMaps
Error 24 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 74 1 CascadedShadowMaps
Error 25 error C2065: 'm_hDisplay' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 74 1 CascadedShadowMaps
Error 26 error C2039: 'CreateRenderContext' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 78 1 CascadedShadowMaps
Error 27 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 78 1 CascadedShadowMaps
Error 28 error C2065: 'm_hDisplay' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 78 1 CascadedShadowMaps
Error 29 error C2065: 'EGL_OPENGL_ES_API' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 99 1 CascadedShadowMaps
Error 30 error C3861: 'eglBindAPI': identifier not found c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 99 1 CascadedShadowMaps
Error 31 error C2039: 'm_eglDisplay' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 100 1 CascadedShadowMaps
Error 32 error C2039: 'm_eglSurface' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 100 1 CascadedShadowMaps
Error 33 error C2039: 'm_eglContextGL' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 100 1 CascadedShadowMaps
Error 34 error C3861: 'eglMakeCurrent': identifier not found c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 100 1 CascadedShadowMaps
Error 35 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 114 1 CascadedShadowMaps
Error 36 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 115 1 CascadedShadowMaps
Error 37 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 118 1 CascadedShadowMaps
Error 38 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 119 1 CascadedShadowMaps
Error 39 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 120 1 CascadedShadowMaps
Error 40 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 121 1 CascadedShadowMaps
Error 41 error C2039: 'SwapDrawBuffers' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 131 1 CascadedShadowMaps
Error 42 error C2039: 'm_eglDisplay' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 148 1 CascadedShadowMaps
Error 43 error C2039: 'm_eglSurface' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 149 1 CascadedShadowMaps
Error 44 error C3861: 'eglCopyBuffers': identifier not found c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 148 1 CascadedShadowMaps
Error 45 error C2065: 'EGLDisplay' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 186 1 CascadedShadowMaps
Error 46 error C2146: syntax error : missing ';' before identifier 'eglDisplay' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 186 1 CascadedShadowMaps
Error 47 error C2065: 'eglDisplay' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 186 1 CascadedShadowMaps
Error 48 error C2039: 'm_eglDisplay' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 186 1 CascadedShadowMaps
Error 49 error C2065: 'EGLSurface' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 187 1 CascadedShadowMaps
Error 50 error C2146: syntax error : missing ';' before identifier 'eglSurface' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 187 1 CascadedShadowMaps
Error 51 error C2065: 'eglSurface' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 187 1 CascadedShadowMaps
Error 52 error C2039: 'm_eglSurface' : is not a member of 'CFrmApplication' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 187 1 CascadedShadowMaps
Error 53 error C2065: 'eglDisplay' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 192 1 CascadedShadowMaps
Error 54 error C2065: 'eglSurface' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 192 1 CascadedShadowMaps
Error 55 error C3861: 'eglCopyBuffers': identifier not found c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 192 1 CascadedShadowMaps
Error 56 error C2065: 'EGLenum' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 282 1 CascadedShadowMaps
Error 57 error C2146: syntax error : missing ';' before identifier 'nAPI' c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 282 1 CascadedShadowMaps
Error 58 error C2065: 'nAPI' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 282 1 CascadedShadowMaps
Error 59 error C3861: 'eglQueryAPI': identifier not found c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 282 1 CascadedShadowMaps
Error 60 error C2065: 'nAPI' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 283 1 CascadedShadowMaps
Error 61 error C2065: 'EGL_OPENGL_ES_API' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 283 1 CascadedShadowMaps
Error 62 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 355 1 CascadedShadowMaps
Error 63 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 360 1 CascadedShadowMaps
Error 64 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 361 1 CascadedShadowMaps
Error 65 error C2065: 'NativeWindowType' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 400 1 CascadedShadowMaps
Error 66 error C2065: 'pWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 400 1 CascadedShadowMaps
Error 67 error C2065: 'NativeDisplayType' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 401 1 CascadedShadowMaps
Error 68 error C2065: 'pDisplay' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 401 1 CascadedShadowMaps
Error 69 error C2448: 'CFrmAppContainer::CreateNativeWindow' : function-style initializer appears to be a function definition c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 402 1 CascadedShadowMaps
Error 70 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 504 1 CascadedShadowMaps
Error 71 error C2065: 'm_hDisplay' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 504 1 CascadedShadowMaps
Error 72 error C2065: 'm_hWindow' : undeclared identifier c:\adrenosdk\development\samples\framework\win32\frmapplication_platform.cpp 505 1 CascadedShadowMaps
Error 73 error C2653: 'Microsoft' : is not a class or namespace name c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 74 error C2143: syntax error : missing ';' before '<' c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 75 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 76 error C2238: unexpected token(s) preceding ';' c:\adrenosdk\development\samples\framework\frmapplication.h 78 1 CascadedShadowMaps
Error 77 error C2653: 'Microsoft' : is not a class or namespace name c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 78 error C2143: syntax error : missing ';' before '<' c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 79 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
Error 80 error C2238: unexpected token(s) preceding ';' c:\adrenosdk\development\samples\framework\frmapplication.h 79 1 CascadedShadowMaps
 
  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.