Install libegl1-mesa-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libegl1-mesa-dev
Description:
free implementation of the EGL API -- development files
This package contains the development environment required for compiling programs against EGL native platform graphics interface library. EGL provides a platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES. . This package provides the development environment for compiling programs against the EGL library.
Homepage: https://mesa3d.org/
Version: 18.0.0~rc5-1ubuntu1
Section: libdevel