Undefined reference to symbol 'eglDestroySurface'

Hello,

undefined reference to symbol ‘eglDestroySurface’
//usr/lib/aarch64-linux-gnu/libEGL.so.1: error adding symbols: DSO missing from command line

Can you tell me how to solve this problem?

Thank you.

Hi,
You need to add

-lEGL -lGLESv2

Please refer to Rules.mk