jvcleave / ofxImGui

Use ImGui in openFrameworks
300 stars 123 forks source link

No gui on Android #100

Closed Katmai6 closed 4 years ago

Katmai6 commented 4 years ago

I tried a few simple code to run ofxImGui on Android, it compiles without problems but it only shows an empty window.

Then I copied-pasted the code inside "example-demo", no difference,again just an empty window opens when I run the app.

I am using Openframeworks 0.10.0 and Android Studio under Windows 7, running the app on an Android 7 based smartphone.

Katmai6 commented 4 years ago

Here is the related log:

12-19 00:38:02.162 405-405/? E/SELinux: avc: denied { find } for service=mtk-perfservice pid=592 uid=1041 scontext=u:r:audioserver:s0 tcontext=u:object_r:mtk_perf_service:s0 tclass=service_manager permissive=0 12-19 00:38:02.165 592-1002/? E/AudioALSAPlaybackHandlerBase: openPcmDriver(), pcm_start(0xe8a83620) fail due to cannot start channel: Broken pipe 12-19 00:38:02.238 1131-1366/? E/libPerfService: write file (/proc/fliperfs/cg_threshold) fail, count: -1 12-19 00:38:02.239 592-1001/? E/AudioFlinger: getNextBuffer, track(0xe9a12080) get null buffer, mState 6, mFillingUpStatus 2 12-19 00:38:02.361 1131-13449/? E/Sensors: handleToDriver handle(0) 12-19 00:38:02.361 1131-13449/? E/Sensors: go to batchsensor(0) 12-19 00:38:02.445 8471-8487/? E/ofShader: sorry, it looks like you can't run 'ARB_shader_objects' 12-19 00:38:02.445 8471-8487/? E/ofShader: please check the capabilites of your graphics card: http://www.ozone3d.net/gpu_caps_viewer 12-19 00:38:02.445 8471-8487/? E/ofShader: setupShaderFromSource(): failed creating GL_FRAGMENT_SHADER shader 12-19 00:38:02.445 8471-8487/? E/ofShader: sorry, it looks like you can't run 'ARB_shader_objects' 12-19 00:38:02.445 8471-8487/? E/ofShader: please check the capabilites of your graphics card: http://www.ozone3d.net/gpu_caps_viewer 12-19 00:38:02.445 8471-8487/? E/ofShader: setupShaderFromSource(): failed creating GL_VERTEX_SHADER shader 12-19 00:38:02.445 8471-8487/? E/ofShader: linkProgram(): trying to link GLSL program, but no shaders created yet

Katmai6 commented 4 years ago

I noticed ofshader example of openframeworks 0.10.0 had the same problems, I started using Openframeworks 0.11.0 and the problems are solved.