OpenGLES?
Is it possible to access the Android OpenGLES library from Termux? I'd like to build Android apps from within Termux, but this is the only thing stopping me.
mesa or opengl?), which afaik, is C/C++ OpenGL ES Header located in those Dirs, but based on your Question (which i guess you want build .apk file), you have to use Android NDK + Android SDK to do that, with At least some C/C++ Skill, and obviously Kotlin/Java skill to make the App.libGLES2 library and GLES headers.so file you need is preinstalled and available. it is at /system/lib64/libGLESv2.so and its SONAME (internal data) is "libGLESv2.so"pkg install libglvnd-dev and they are in $PREFIX/include/GLES2/ folder after you install itlibglvnd package. ONLY libglvnd-dev package. otherwise something really annoying will happen that's tedious to work around.libglvnd package installed, try to uninstall it. if it says that removing it will remove something else you need, then tell me and I'll tell you what you have to do, which is a tedious workaround.--target to clang just run clang and it will automatically compile for your devicelibc and then put it on my Termux install, which will simplify things a ton by allowing me to have a portable NDK setupmesaopenglgradle assembleDebug
cp app/build/output/debug/app-debug.apk /storage/emulated/0/libGLES2GLES.so/system/lib64/libGLESv2.soSONAMElibGLESv2.sopkg install libglvnd-dev$PREFIX/include/GLES2/libglvndlibglvndlibglvnd-dev--targetclangclang