Is it possible to use openframeworks on aarch64 architecture with GLESv2 support?

Hello everybody! I am trying to run openframeworks on Khadas VIM1S. Which runs on Ubuntu 22, 2.0GHz Quad core ARM Cortex-A35 and ARM Mali-G31 MP2 GPU.

I downloaded the nightly build for the aarch64 architecture. When trying to compile applications or a framework, an error occurs:

===
Package opengl was not found in the pkg-config search path.
Perhaps you should add the directory containing opengl.pc' to the PKG_CONFIG_PATH environment variable Package 'opengl', required by 'glu', not found Package opengl was not found in the pkg-config search path. Perhaps you should add the directory containing opengl.pc’
to the PKG_CONFIG_PATH environment variable
Package ‘opengl’, required by ‘glu’, not found
makefileCommon/config.shared.mk:311: *** couldn’t find glu pkg-config package or it’s dependencies, did you run the latest install_dependencies.sh?. Stop.
there has been a problem compiling Debug OF library
please report this problem in the forums

My board supports GLESv2. config.linuxaarch64.default.mk contains these lines:

PLATFORM_PKG_CONFIG_LIBRARIES += glesv1_cm
PLATFORM_PKG_CONFIG_LIBRARIES += glesv2
PLATFORM_PKG_CONFIG_LIBRARIES += egl

But the script is looking for opengl. Is it possible to use openframeworks on aarch64 architecture with GLESv2 support?

Hi @Vaganovski - welcome!!

Hmm - my first thought is did you run:
sudo ./install_dependencies.sh -y

from scripts/linux/ubuntu/

I believe the RPI 4 @dimitre was testing with was using GLES2 so it should work.

All the best!
Theo