opengl-meson and glu packages

  • hello,

    my hardware is Amlogic S905 based tv box. I would like to experiment simple graphics programming.
    what package-addon do you recommend for simple graphics programming?
    I picked glu (opengl utility library) randomly, but if anybody recommends something else especially ready build environment in Libreelec I can continue in this direction.

    there are opengl-meson & glu packages in the /http://LibreELEC.tv/packages/graphics/ folder.
    in the build folder, there is opengl-meson-gxbb-r5p1-01rel0 from previous build but no glu (opengl utility library).

    When I hit the below command to build glu, I got errors and configure exits:
    so how do you compile glu?

    Even though PKG_ARCH="any" I feel like glu package is just for x86 target.
    sorry to paste all configure output, i can edit to shrink later this first post.

    thanks

    package.mk for glu:

    Code
    PKG_NAME="glu"PKG_VERSION="9.0.0"PKG_REV="1"PKG_ARCH="any"PKG_LICENSE="OSS"PKG_SITE="http://cgit.freedesktop.org/mesa/glu/"PKG_URL="http://cgit.freedesktop.org/mesa/glu/snapshot/$PKG_NAME-$PKG_VERSION.tar.gz"PKG_DEPENDS_TARGET="toolchain"PKG_PRIORITY="optional"PKG_SECTION="graphics"PKG_SHORTDESC="glu: The OpenGL utility library"PKG_LONGDESC="libglu is the The OpenGL utility library" PKG_IS_ADDON="no"PKG_AUTORECONF="yes" PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules \--disable-debug \--disable-osmesa \--with-gnu-ld"

    PROJECT=S905 ARCH=aarch64 ./scripts/build glu

    Edited once, last by Albundy (November 18, 2016 at 7:47 PM).

  • so opengl-meson is not opengl?
    glu is working strictly with opengl and is not with opengles?

    I am pretty confused with what is available for amlogic devices and which are not in Libreelec.

    kodi uses a graphical interface, keyboard, mouse inputs, so there should be some graphical library already there.
    I assume there must be other programs using graphical interface with keyboard, mouse inputs.
    If glu is not one of them for aarch64, What is it and how to use it?

  • I found this in Amlogic site, copy paste from a pdf file, there is QT but not tried it yet, copying libraries should be enough..i think.

    There is also directFB..need to find some examples.

    Edited once, last by Albundy (November 19, 2016 at 4:44 AM).