tflite_gles_app icon indicating copy to clipboard operation
tflite_gles_app copied to clipboard

I followed your compiling steps, but meets some errors on host pc(Ubuntu 18.04)

Open baixianger opened this issue 4 years ago • 2 comments
trafficstars

ERROR: /home/creapai/work/tensorflow_r2.4/tensorflow/lite/delegates/gpu/BUILD:232:1: C++ compilation of rule '//tensorflow/lite/delegates/gpu:delegate' failed (Exit 1)
In file included from ./tensorflow/lite/delegates/gpu/api.h:50,
                 from tensorflow/lite/delegates/gpu/delegate.cc:28:
./tensorflow/lite/delegates/gpu/gl/portable_gl31.h:21:10: fatal error: EGL/egl.h: No such file or directory
 #include <EGL/egl.h>
          ^~~~~~~~~~~
compilation terminated.
Target //tensorflow/lite/delegates/gpu:libtensorflowlite_gpu_delegate.so failed to build

baixianger avatar May 23 '21 04:05 baixianger

did you install libgles2-mesa-dev ?

sudo apt install libgles2-mesa-dev 

terryky avatar May 23 '21 09:05 terryky

Same error even after installing libgles2-mesa-dev

(ai) root@gpu-3:~/work# apt install libgles2-mesa-dev 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgles2-mesa-dev is already the newest version (20.0.8-0ubuntu1~18.04.1).

hmrishavbandy avatar Sep 30 '21 15:09 hmrishavbandy