Android Sample | OpenGL config error (Feature #1083)


Added by fabien Chevalley almost 14 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:
Priority:High Due date:
Assignee:Ethan Rublee % Done:

0%

Category:android
Target version:-
Difficulty: Pull request:

Description

Hi,

I have a reproductible error when I lunch the android Samples, my apps crash when GLSurfaceView.EGLConfigChooser was create, there is no configuration returned by the call of > egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config);

Here is the exception: java.lang.IllegalArgumentException: No configs match configSpec
.

I compile the last trunk OpenCV, and I follow the wiki's instructions.

I compile for android 2.2, API-lvl:8.
I try armeabi and armeabi-v7a targets, but it's same issue.
I also try the emulator and my GalaxyS, but it's same issue.

I maybe missing something arround opengl,...

Thank you,
Faffine


CVCamera.rtf - adb logcat (7.7 kB) fabien Chevalley, 2011-05-21 09:26 pm

CMakeCache.txt - cmake for CVCamera (14.9 kB) fabien Chevalley, 2011-05-21 09:27 pm


Associated revisions

Revision 2f8be2a4
Added by Roman Donchenko over 11 years ago

Merge pull request #1083 from jet47:cuda-device-layer

History

Updated by fabien Chevalley almost 14 years ago

I make the following changes, without that I have null reference exception on runtime.

#1084

Updated by fabien Chevalley almost 14 years ago

I try a with a little different patch, #1085, and it's work.

I make a new checkout of trunk, apply my patch. And then compile everything for target armeabi-v7a.

It's work fine on my Galaxy-s ( android 2.2 ), but it failed on emulator (Native ABI mismatch from package file) maybe with a armeabi it would work...

  • Status changed from Open to Done
  • (deleted custom field) set to worksforme

Updated by Andrey Kamaev almost 13 years ago

  • Status changed from Done to Cancelled

Also available in: Atom PDF