Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
baixianger opened this issue May 23, 2021 · 2 comments

Comments

@baixianger
Copy link

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
@terryky
Copy link
Owner

terryky commented May 23, 2021

did you install libgles2-mesa-dev ?

sudo apt install libgles2-mesa-dev 

@hmrishavbandy
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants