elucideye / drishti

Real time eye tracking for embedded and mobile devices.
BSD 3-Clause "New" or "Revised" License
392 stars 82 forks source link

iOS facefilter example error. #765

Open iPsych opened 4 years ago

iPsych commented 4 years ago

The example 'facefilter' properly compiled and installed in iPhone SE. However, after 'allowing the access to camera', the app just show black screen after below debugging code. Does it only support specific version of os or hardware?

ogles_gpgpu::Shader - /Users/iPsych/.hunter/_Base/9cb4184/31476c5/b11b287/Build/ogles_gpgpu/Source/ogles_gpgpu/common/gl/shader.cpp:116:compile(): could not compile shader program. shader source:
varying vec3 lineColor; void main() { gl_FragColor = vec4(lineColor, 1.0); }

ogles_gpgpu::Shader - /Users/iPsych/.hunter/_Base/9cb4184/31476c5/b11b287/Build/ogles_gpgpu/Source/ogles_gpgpu/common/gl/shader.cpp:75:create(): could not link shader program. error log:
ERROR: OpenGL ES requires exactly one vertex and one fragment shader to validly link.

ogles_gpgpu::Shader - /Users/iPsych/.hunter/_Base/9cb4184/31476c5/b11b287/Build/ogles_gpgpu/Source/ogles_gpgpu/common/gl/shader.cpp:41:getParam(): could not get parameter id for param color
Assertion failed: (compiled), function FacePainter, file /Research/2020/Empathy_and_Pupil/drishti/src/lib/drishti/hci/gpu/FacePainter.cpp, line 162.