01-12-2012 09:04 AM
What set of libraries do you see when you go to HelloWorld project properties->C/C++Build->Settings->QCC Linker->Libraries->Libraries (-l) section?
What <asset path... entires do you have in bar-descriptor.xml?
01-12-2012 09:44 AM
That is not the source of our problem here. The fact that this sample compiled and linked and ran to egl initialization tells us that code itself is correct.
Problem is in the simulator image. We had a problem with eglChooseConfig in early revs of simulator egl/gl stack and it has been fixed a long time ago.
So, download a current simulator image from this url
Once you run it, click on the icon in the top right, In the About tab OS Version should be 22.214.171.12467 (or higher).
I have just tried a couple of sample apps on this simulator build and ndk 1.0 and things function as expected.
Let me know if you have further issues with this.
01-12-2012 10:06 AM
Agree, it's almost always better to play with the latest buillds. Interesting part is that it seems that I have the same (old) config and it works for me. Regardless, let's wait for update from aa73
01-12-2012 10:23 AM
Hmm, it does say 1.0.7 on the download button, but once you save the file, you should see the following name :
05-21-2012 08:41 AM
I also have the same problem when i tried to run the helloworld display application on my blackberry device simulator 10. I got the following exception :
eglCreateContext: an EGLConfig argument does not name a valid EGLConfig
Unable to initialize EGL
So i am not able to run the application on my simulator.
I am using Simultor Image as following :BlackBerry10Simulator-Installer-BB10_0_04-195-Win-
NDK version :installer-bbndk-BB10_0_04-win32-186-201204250810
So I am not able to run any of the Open GL application on my simulator.
05-25-2012 04:41 PM
Did you boot into safe mode when loading the simulator? We don't support GLES 2.0 when in safe mode, just 1.0.
Also, did you change any of the source code for the sample application? If so, can you please post it here.