[blockquote]Do I miss some other configuration before run these example?[/blockquote]
Did you set the LD_LIBRARY_PATH to the PVRVFrame libraries path before executing the example? Did the example produce a log output to file before it crashed (log.txt - should be in the same directory as the binary), could you post it here if it did?
[blockquote]Actually, I’m trying to run a sample code Hello_Triangle from OpenGLES3.0_book.
I always get a same error that is chooseConfig return numConfig=0 every time.
I’m not sure which EGL interface was error – eglGetDisplay()/eglInitialize();
Call eglGetError(), the error code is also not a defined normal code in egl.h.[/blockquote]
Is there a reference to the source code you are using that you can point me too?
Also it might be useful for you to take a look at the HelloAPI example (OGLESHelloAPI_LinuxX11.cpp) source code (from our SDK), specifically how it sets up the X11 window and how it initializes EGL - display & surface creation etc.
Possibly your application is not setting up the X11 window correctly which is causing eglGetDisplay to fail, which in turn is causing eglChooseConfig to fail. Have you checked that the eglDisplay handle returned from the eglGetDisplay function is valid?