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:
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
osboxes@osboxes:/media/osboxes/build/LIBREELEC/LibreELEC.tv$ PROJECT=S905 ARCH=aarch64 ./scripts/build glu
UNPACK glu
BUILD glu (target)
AUTORECONF glu
autoreconf: Entering directory `build.LibreELEC-S905.aarch64-7.0.2.009/glu-9.0.0'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aclocal -I /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/share/aclocal -I /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/share/aclocal --force ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: running: /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/autoconf --include=/media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/aarch64-libreelec-linux-gnueabi/sysroot/usr/share/aclocal --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/automake --add-missing --copy --force-missing
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/automake line 3936.
configure.ac:32: installing './compile'
configure.ac:27: installing './config.guess'
configure.ac:27: installing './config.sub'
configure.ac:29: installing './install-sh'
configure.ac:29: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `build.LibreELEC-S905.aarch64-7.0.2.009/glu-9.0.0'
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-libreelec-linux-gnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-libreelec-linux-gnueabi-strip... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for style of include used by make... GNU
checking for aarch64-libreelec-linux-gnueabi-gcc... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc accepts -g... yes
checking for /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc option to accept ISO C89... none needed
checking whether /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc understands -c and -o together... yes
checking dependency style of /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc... gcc3
checking for a sed that does not truncate output... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ld
checking if the linker (/media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-nm
checking the name lister (/media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to aarch64-libreelec-linux-gnueabi format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ld option to reload object files... -r
checking for aarch64-libreelec-linux-gnueabi-objdump... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-libreelec-linux-gnueabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-libreelec-linux-gnueabi-ar... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for aarch64-libreelec-linux-gnueabi-strip... (cached) /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-strip
checking for aarch64-libreelec-linux-gnueabi-ranlib... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ranlib
checking command to parse /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-nm output from /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for aarch64-libreelec-linux-gnueabi-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc static flag -static works... yes
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc supports -c -o file.o... yes
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc linker (/media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C preprocessor... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc -E
checking for aarch64-libreelec-linux-gnueabi-gcc... (cached) /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc accepts -g... (cached) yes
checking for /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc option to accept ISO C89... (cached) none needed
checking whether /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc understands -c and -o together... (cached) yes
checking dependency style of /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ accepts -g... yes
checking dependency style of /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++... gcc3
checking how to run the C++ preprocessor... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ -E
checking for ld used by /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++... /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ld
checking if the linker (/media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ld) is GNU ld... yes
checking whether the /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ linker (/media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ld) supports shared libraries... yes
checking for /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ option to produce PIC... -fPIC -DPIC
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ PIC flag -fPIC -DPIC works... yes
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ static flag -static works... no
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ supports -c -o file.o... yes
checking if /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
checking whether the /media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-g++ linker (/media/osboxes/build/LIBREELEC/LibreELEC.tv/build.LibreELEC-S905.aarch64-7.0.2.009/toolchain/bin/aarch64-libreelec-linux-gnueabi-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether make supports nested variables... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking for GL... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
configure: error: GL not found
Display More