Posts: 159
Threads: 8
Joined: Dec 2018
Reputation:
0
(08-29-2021, 09:44 AM)Jempie Wrote: (08-28-2021, 07:57 PM)fdealexa Wrote: I don't know if you, now, see the pictures...anyway this is the cabling (the same reported in the github)
https://github.com/antiprism/mpd_oled
CS : 24
DC : 18
RES : 22
SDA : 19
SCL : 23
VCC : 17 (or 1)
GND : 14 (or 9)
the number are related at the pin numbers of the connector:
https://www.raspberrypi-spy.co.uk/2012/0...-and-pins/
please do not hesitate to ask, if any doubt.
Regards,
Francesco
francesco connection display the same wires on the right connector board RPI4
pi@moode:~ $ sudo service mpd_oled status
● mpd_oled.service - MPD OLED Display
Loaded: loaded (/etc/systemd/system/mpd_oled.service; enabled; vendor preset:
Active: active (running) since Fri 2021-08-27 06:03:31 EDT; 1 day 23h ago
Process: 385 ExecStartPre=/usr/local/bin/mpd_oled_launch_test (code=exited, st
Main PID: 644 (mpd_oled)
Tasks: 5 (limit: 4915)
CGroup: /system.slice/mpd_oled.service
├─ 644 /usr/local/bin/mpd_oled -o 1 -b 21 -g 1 -f 20 -c alsa,plughw:L
├─1315 sh -c mpd_oled_cava -p /tmp/cava_config_ts3g7a
└─1316 mpd_oled_cava -p /tmp/cava_config_ts3g7a
Aug 27 06:03:15 moode systemd[1]: Starting MPD OLED Display...
Aug 27 06:03:31 moode systemd[1]: Started MPD OLED Display.
Aug 27 06:07:11 moode mpd_oled[644]: open file /tmp/cava_fifo_644 for writing ra
Posts: 159
Threads: 8
Joined: Dec 2018
Reputation:
0
(08-29-2021, 09:45 AM)Jempie Wrote: (08-29-2021, 09:44 AM)Jempie Wrote: (08-28-2021, 07:57 PM)fdealexa Wrote: I don't know if you, now, see the pictures...anyway this is the cabling (the same reported in the github)
https://github.com/antiprism/mpd_oled
CS : 24
DC : 18
RES : 22
SDA : 19
SCL : 23
VCC : 17 (or 1)
GND : 14 (or 9)
the number are related at the pin numbers of the connector:
https://www.raspberrypi-spy.co.uk/2012/0...-and-pins/
please do not hesitate to ask, if any doubt.
Regards,
Francesco
francesco connection display the same wires on the right connector board RPI4
pi@moode:~ $ sudo service mpd_oled status
● mpd_oled.service - MPD OLED Display
Loaded: loaded (/etc/systemd/system/mpd_oled.service; enabled; vendor preset:
Active: active (running) since Fri 2021-08-27 06:03:31 EDT; 1 day 23h ago
Process: 385 ExecStartPre=/usr/local/bin/mpd_oled_launch_test (code=exited, st
Main PID: 644 (mpd_oled)
Tasks: 5 (limit: 4915)
CGroup: /system.slice/mpd_oled.service
├─ 644 /usr/local/bin/mpd_oled -o 1 -b 21 -g 1 -f 20 -c alsa,plughw:L
├─1315 sh -c mpd_oled_cava -p /tmp/cava_config_ts3g7a
└─1316 mpd_oled_cava -p /tmp/cava_config_ts3g7a
Aug 27 06:03:15 moode systemd[1]: Starting MPD OLED Display...
Aug 27 06:03:31 moode systemd[1]: Started MPD OLED Display.
Aug 27 06:07:11 moode mpd_oled[644]: open file /tmp/cava_fifo_644 for writing ra
pi@moode:~ $ cat /boot/config.txt
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=0
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=i2s=on
dtparam=audio=on
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
pi@moode:~ $
Posts: 159
Threads: 8
Joined: Dec 2018
Reputation:
0
All,
really strange, try to boot the RPI4 with moode, he does not start-up
so I change again to RPI3b now with moode 7.3and install again
code will come within a sec....
Posts: 159
Threads: 8
Joined: Dec 2018
Reputation:
0
(08-29-2021, 09:44 AM)Jempie Wrote: (08-28-2021, 07:57 PM)fdealexa Wrote: I don't know if you, now, see the pictures...anyway this is the cabling (the same reported in the github)
https://github.com/antiprism/mpd_oled
CS : 24
DC : 18
RES : 22
SDA : 19
SCL : 23
VCC : 17 (or 1)
GND : 14 (or 9)
the number are related at the pin numbers of the connector:
https://www.raspberrypi-spy.co.uk/2012/0...-and-pins/
please do not hesitate to ask, if any doubt.
Regards,
Francesco
francesco connection display the same wires on the right connector board RPI4
WOOW, display works........ but no bars
it seems that the RPI4 is not OK
Code: login as: pi
pi@192.168.2.10's password:
RaspiOS 10.6 | 5.4.77-v7+ #1371 | armv7l (32-bit)
Hardware: Pi-3B 1.2 1GB
____ __ ____
__ _ ___ / __ \___/ /__ /_ /
/ ' \/ _ \/ /_/ / _ / -_) / /
/_/_/_/\___/\____/\_,_/\__/ /_/
moOde audio player
Release 7.3.0 2021-06-25
(C) 2014 Tim Curtis
The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.
Moode comes with absolutely no warranties expressed or
implied, or any other guarantees.
pi@moode:~ $ sudo apt install autoconf make libtool libfftw3-dev libmpdclient-de v libi2c-dev i2c-tools lm-sensors
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version (2.69-11).
i2c-tools is already the newest version (4.1-1).
i2c-tools set to manually installed.
libmpdclient-dev is already the newest version (2.16-1).
libtool is already the newest version (2.4.6-9).
make is already the newest version (4.2.1-1.2).
make set to manually installed.
The following additional packages will be installed:
libfftw3-bin
Suggested packages:
libfftw3-doc fancontrol
The following NEW packages will be installed:
libfftw3-bin libfftw3-dev libi2c-dev lm-sensors
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,220 kB of archives.
After this operation, 4,513 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirror.serverius.net/raspbian/raspbian buster/main armhf libfftw3-bin armhf 3.3.8-2 [43.6 kB]
Get:2 http://mirror.serverius.net/raspbian/raspbian buster/main armhf libfftw3-dev armhf 3.3.8-2 [1,060 kB]
Get:3 http://mirror.serverius.net/raspbian/raspbian buster/main armhf libi2c-dev armhf 4.1-1 [11.9 kB]
Get:4 http://mirror.serverius.net/raspbian/raspbian buster/main armhf lm-sensors armhf 1:3.5.0-3 [104 kB]
Fetched 1,220 kB in 1s (1,718 kB/s)
Selecting previously unselected package libfftw3-bin.
(Reading database ... 68327 files and directories currently installed.)
Preparing to unpack .../libfftw3-bin_3.3.8-2_armhf.deb ...
Unpacking libfftw3-bin (3.3.8-2) ...
Selecting previously unselected package libfftw3-dev:armhf.
Preparing to unpack .../libfftw3-dev_3.3.8-2_armhf.deb ...
Unpacking libfftw3-dev:armhf (3.3.8-2) ...
Selecting previously unselected package libi2c-dev.
Preparing to unpack .../libi2c-dev_4.1-1_armhf.deb ...
Unpacking libi2c-dev (4.1-1) ...
Selecting previously unselected package lm-sensors.
Preparing to unpack .../lm-sensors_1%3a3.5.0-3_armhf.deb ...
Unpacking lm-sensors (1:3.5.0-3) ...
Setting up libfftw3-bin (3.3.8-2) ...
Setting up libi2c-dev (4.1-1) ...
Setting up lm-sensors (1:3.5.0-3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/lm-sensors.service → /lib/systemd/system/lm-sensors.service.
Setting up libfftw3-dev:armhf (3.3.8-2) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u4+rpi1) ...
pi@moode:~ $ git clone https://github.com/karlstav/cava
Cloning into 'cava'...
remote: Enumerating objects: 2569, done.
remote: Counting objects: 100% (75/75), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 2569 (delta 40), reused 29 (delta 13), pack-reused 2494
Receiving objects: 100% (2569/2569), 1.03 MiB | 3.60 MiB/s, done.
Resolving deltas: 100% (1571/1571), done.
pi@moode:~ $ cd cava
pi@moode:~/cava $ ./autogen.sh
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:4: installing './ar-lib'
configure.ac:4: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Makefile.am: installing './depcomp'
pi@moode:~/cava $ ./configure --disable-input-portaudio --disable-input-sndio --disable-output-ncurses --disable-input-pulse --program-prefix=mpd_oled_
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/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... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for snd_pcm_open in -lasound... yes
checking for sqrt in -lm... yes
checking for fftw_execute in -lfftw3... yes
checking for library containing iniparser_load... no
configure: Building iniparser
configure: Checking OS
configure: Linux detected
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating iniparser/Makefile
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
pi@moode:~/cava $ make
Making all in iniparser
make[1]: Entering directory '/home/pi/cava/iniparser'
depbase=`echo src/iniparser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/iniparser.lo -MD -MP -MF $depbase.Tpo -c -o src/iniparser.lo src/iniparser.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" "-DPACKAGE_STRING=\"cava 0.7.4-2-g1b7c395\"" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/iniparser.lo -MD -MP -MF src/.deps/iniparser.Tpo -c src/iniparser.c -fPIC -DPIC -o src/.libs/iniparser.o
libtool: compile: gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" "-DPACKAGE_STRING=\"cava 0.7.4-2-g1b7c395\"" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/iniparser.lo -MD -MP -MF src/.deps/iniparser.Tpo -c src/iniparser.c -o src/iniparser.o >/dev/null 2>&1
depbase=`echo src/dictionary.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/dictionary.lo -MD -MP -MF $depbase.Tpo -c -o src/dictionary.lo src/dictionary.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" "-DPACKAGE_STRING=\"cava 0.7.4-2-g1b7c395\"" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/dictionary.lo -MD -MP -MF src/.deps/dictionary.Tpo -c src/dictionary.c -fPIC -DPIC -o src/.libs/dictionary.o
libtool: compile: gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" "-DPACKAGE_STRING=\"cava 0.7.4-2-g1b7c395\"" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/dictionary.lo -MD -MP -MF src/.deps/dictionary.Tpo -c src/dictionary.c -o src/dictionary.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o libiniparser.la src/iniparser.lo src/dictionary.lo -lpthread -lasound -lm -lfftw3
libtool: link: ar cru .libs/libiniparser.a src/.libs/iniparser.o src/.libs/dictionary.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libiniparser.a
libtool: link: ( cd ".libs" && rm -f "libiniparser.la" && ln -s "../libiniparser.la" "libiniparser.la" )
make[1]: Leaving directory '/home/pi/cava/iniparser'
make[1]: Entering directory '/home/pi/cava'
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -MT cava-cava.o -MD -MP -MF .deps/cava-cava.Tpo -c -o cava-cava.o `test -f 'cava.c' || echo './'`cava.c
mv -f .deps/cava-cava.Tpo .deps/cava-cava.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -MT cava-config.o -MD -MP -MF .deps/cava-config.Tpo -c -o cava-config.o `test -f 'config.c' || echo './'`config.c
mv -f .deps/cava-config.Tpo .deps/cava-config.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -MT input/cava-common.o -MD -MP -MF input/.deps/cava-common.Tpo -c -o input/cava-common.o `test -f 'input/common.c' || echo './'`input/common.c
mv -f input/.deps/cava-common.Tpo input/.deps/cava-common.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -MT input/cava-fifo.o -MD -MP -MF input/.deps/cava-fifo.Tpo -c -o input/cava-fifo.o `test -f 'input/fifo.c' || echo './'`input/fifo.c
mv -f input/.deps/cava-fifo.Tpo input/.deps/cava-fifo.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -MT input/cava-shmem.o -MD -MP -MF input/.deps/cava-shmem.Tpo -c -o input/cava-shmem.o `test -f 'input/shmem.c' || echo './'`input/shmem.c
mv -f input/.deps/cava-shmem.Tpo input/.deps/cava-shmem.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -MT output/cava-terminal_noncurses.o -MD -MP -MF output/.deps/cava-terminal_noncurses.Tpo -c -o output/cava-terminal_noncurses.o `test -f 'output/terminal_noncurses.c' || echo './'`output/terminal_noncurses.c
mv -f output/.deps/cava-terminal_noncurses.Tpo output/.deps/cava-terminal_noncurses.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -MT output/cava-raw.o -MD -MP -MF output/.deps/cava-raw.Tpo -c -o output/cava-raw.o `test -f 'output/raw.c' || echo './'`output/raw.c
mv -f output/.deps/cava-raw.Tpo output/.deps/cava-raw.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -MT input/cava-alsa.o -MD -MP -MF input/.deps/cava-alsa.Tpo -c -o input/cava-alsa.o `test -f 'input/alsa.c' || echo './'`input/alsa.c
mv -f input/.deps/cava-alsa.Tpo input/.deps/cava-alsa.Po
/bin/bash ./libtool --tag=CC --mode=link gcc -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -L/usr/local/lib -Wl,-rpath /usr/local/lib -lrt -o cava cava-cava.o cava-config.o input/cava-common.o input/cava-fifo.o input/cava-shmem.o output/cava-terminal_noncurses.o output/cava-raw.o input/cava-alsa.o -liniparser -Liniparser/.libs -lpthread -lasound -lm -lfftw3
libtool: link: gcc -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -Wl,-rpath /usr/local/lib -o cava cava-cava.o cava-config.o input/cava-common.o input/cava-fifo.o input/cava-shmem.o output/cava-terminal_noncurses.o output/cava-raw.o input/cava-alsa.o -L/usr/local/lib -lrt /home/pi/cava/iniparser/.libs/libiniparser.a -Liniparser/.libs -lpthread -lasound -lm -lfftw3
make[1]: Leaving directory '/home/pi/cava'
pi@moode:~/cava $ sudo make install-strip
if test -z 'strip'; then \
make INSTALL_PROGRAM="/bin/bash /home/pi/cava/install-sh -c -s" \
install_sh_PROGRAM="/bin/bash /home/pi/cava/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
install; \
else \
make INSTALL_PROGRAM="/bin/bash /home/pi/cava/install-sh -c -s" \
install_sh_PROGRAM="/bin/bash /home/pi/cava/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \
fi
make[1]: Entering directory '/home/pi/cava'
Making install in iniparser
make[2]: Entering directory '/home/pi/cava/iniparser'
make[3]: Entering directory '/home/pi/cava/iniparser'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pi/cava/iniparser'
make[2]: Leaving directory '/home/pi/cava/iniparser'
make[2]: Entering directory '/home/pi/cava'
make[3]: Entering directory '/home/pi/cava'
/usr/bin/mkdir -p '/usr/local/bin'
STRIPPROG='strip' /bin/bash ./libtool --mode=install /bin/bash /home/pi/cava/install-sh -c -s cava '/usr/local/bin/./mpd_oled_cava'
libtool: install: /bin/bash /home/pi/cava/install-sh -c -s cava /usr/local/bin/./mpd_oled_cava
/usr/bin/mkdir -p '/usr/local/share/consolefonts'
/usr/bin/install -c -m 644 cava.psf '/usr/local/share/consolefonts'
make[3]: Leaving directory '/home/pi/cava'
make[2]: Leaving directory '/home/pi/cava'
make[1]: Leaving directory '/home/pi/cava'
pi@moode:~/cava $ cd .. # if you are still in the cava source directory
pi@moode:~ $ git clone https://github.com/antiprism/mpd_oled
Cloning into 'mpd_oled'...
remote: Enumerating objects: 529, done.
remote: Counting objects: 100% (116/116), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 529 (delta 66), reused 69 (delta 32), pack-reused 413
Receiving objects: 100% (529/529), 1.00 MiB | 3.77 MiB/s, done.
Resolving deltas: 100% (302/302), done.
pi@moode:~ $ cd mpd_oled
pi@moode:~/mpd_oled $ ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --warnings=all -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --include=m4 --warnings=all
autoreconf: running: /usr/bin/autoheader --include=m4 --warnings=all
autoreconf: running: automake --add-missing --copy --no-force --warnings=all
configure.ac:5: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
pi@moode:~/mpd_oled $ CPPFLAGS="-W -Wall -Wno-psabi" ./configure --prefix=/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/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... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether g++ supports C++11 features with -std=c++11... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for inline... inline
checking for int16_t... yes
checking for int8_t... yes
checking for off_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for gettimeofday... yes
checking for memset... yes
checking for mkfifo... yes
checking for munmap... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strndup... yes
checking LIBMPDCLIENT_DIR... no (using installed libmpdclient)
checking mpd/client.h usability... yes
checking mpd/client.h presence... yes
checking for mpd/client.h... yes
checking for mpd_connection_new in -lmpdclient... yes
checking for pthread_create in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/hjson_cpp/Makefile
config.status: creating src/http_tiny/Makefile
config.status: creating scripts/mpd_oled_service_install
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
pi@moode:~/mpd_oled $ make
make all-recursive
make[1]: Entering directory '/home/pi/mpd_oled'
Making all in src
make[2]: Entering directory '/home/pi/mpd_oled/src'
Making all in hjson_cpp
make[3]: Entering directory '/home/pi/mpd_oled/src/hjson_cpp'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_decode.lo -MD -MP -MF .deps/hjson_decode.Tpo -c -o hjson_decode.lo hjson_decode.cpp
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_decode.lo -MD -MP -MF .deps/hjson_decode.Tpo -c hjson_decode.cpp -fPIC -DPIC -o .libs/hjson_decode.o
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_decode.lo -MD -MP -MF .deps/hjson_decode.Tpo -c hjson_decode.cpp -o hjson_decode.o >/dev/null 2>&1
mv -f .deps/hjson_decode.Tpo .deps/hjson_decode.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_encode.lo -MD -MP -MF .deps/hjson_encode.Tpo -c -o hjson_encode.lo hjson_encode.cpp
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_encode.lo -MD -MP -MF .deps/hjson_encode.Tpo -c hjson_encode.cpp -fPIC -DPIC -o .libs/hjson_encode.o
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_encode.lo -MD -MP -MF .deps/hjson_encode.Tpo -c hjson_encode.cpp -o hjson_encode.o >/dev/null 2>&1
mv -f .deps/hjson_encode.Tpo .deps/hjson_encode.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_parsenumber.lo -MD -MP -MF .deps/hjson_parsenumber.Tpo -c -o hjson_parsenumber.lo hjson_parsenumber.cpp
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_parsenumber.lo -MD -MP -MF .deps/hjson_parsenumber.Tpo -c hjson_parsenumber.cpp -fPIC -DPIC -o .libs/hjson_parsenumber.o
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_parsenumber.lo -MD -MP -MF .deps/hjson_parsenumber.Tpo -c hjson_parsenumber.cpp -o hjson_parsenumber.o >/dev/null 2>&1
mv -f .deps/hjson_parsenumber.Tpo .deps/hjson_parsenumber.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_value.lo -MD -MP -MF .deps/hjson_value.Tpo -c -o hjson_value.lo hjson_value.cpp
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_value.lo -MD -MP -MF .deps/hjson_value.Tpo -c hjson_value.cpp -fPIC -DPIC -o .libs/hjson_value.o
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_value.lo -MD -MP -MF .deps/hjson_value.Tpo -c hjson_value.cpp -o hjson_value.o >/dev/null 2>&1
mv -f .deps/hjson_value.Tpo .deps/hjson_value.Plo
/bin/bash ../../libtool --tag=CXX --mode=link g++ -std=c++11 -g -O2 -o libhjsoncpp.la hjson_decode.lo hjson_encode.lo hjson_parsenumber.lo hjson_value.lo -lpthread -lmpdclient
libtool: link: ar cru .libs/libhjsoncpp.a .libs/hjson_decode.o .libs/hjson_encode.o .libs/hjson_parsenumber.o .libs/hjson_value.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libhjsoncpp.a
libtool: link: ( cd ".libs" && rm -f "libhjsoncpp.la" && ln -s "../libhjsoncpp.la" "libhjsoncpp.la" )
make[3]: Leaving directory '/home/pi/mpd_oled/src/hjson_cpp'
Making all in http_tiny
make[3]: Entering directory '/home/pi/mpd_oled/src/http_tiny'
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT http_lib.lo -MD -MP -MF .deps/http_lib.Tpo -c -o http_lib.lo http_lib.cpp
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT http_lib.lo -MD -MP -MF .deps/http_lib.Tpo -c http_lib.cpp -fPIC -DPIC -o .libs/http_lib.o
libtool: compile: g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT http_lib.lo -MD -MP -MF .deps/http_lib.Tpo -c http_lib.cpp -o http_lib.o >/dev/null 2>&1
mv -f .deps/http_lib.Tpo .deps/http_lib.Plo
/bin/bash ../../libtool --tag=CXX --mode=link g++ -std=c++11 -g -O2 -o libhttptiny.la http_lib.lo -lpthread -lmpdclient
libtool: link: ar cru .libs/libhttptiny.a .libs/http_lib.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libhttptiny.a
libtool: link: ( cd ".libs" && rm -f "libhttptiny.la" && ln -s "../libhttptiny.la" "libhttptiny.la" )
make[3]: Leaving directory '/home/pi/mpd_oled/src/http_tiny'
make[3]: Entering directory '/home/pi/mpd_oled/src'
gcc -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT bcm2835.o -MD -MP -MF .deps/bcm2835.Tpo -c -o bcm2835.o bcm2835.c
mv -f .deps/bcm2835.Tpo .deps/bcm2835.Po
gcc -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT bcm2835_i2c.o -MD -MP -MF .deps/bcm2835_i2c.Tpo -c -o bcm2835_i2c.o bcm2835_i2c.c
mv -f .deps/bcm2835_i2c.Tpo .deps/bcm2835_i2c.Po
gcc -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT glcdfont.o -MD -MP -MF .deps/glcdfont.Tpo -c -o glcdfont.o glcdfont.c
mv -f .deps/glcdfont.Tpo .deps/glcdfont.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT Adafruit_GFX.o -MD -MP -MF .deps/Adafruit_GFX.Tpo -c -o Adafruit_GFX.o Adafruit_GFX.cpp
mv -f .deps/Adafruit_GFX.Tpo .deps/Adafruit_GFX.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT ArduiPi_OLED.o -MD -MP -MF .deps/ArduiPi_OLED.Tpo -c -o ArduiPi_OLED.o ArduiPi_OLED.cpp
mv -f .deps/ArduiPi_OLED.Tpo .deps/ArduiPi_OLED.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.cpp
mv -f .deps/display.Tpo .deps/display.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
mv -f .deps/main.Tpo .deps/main.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.cpp
mv -f .deps/player.Tpo .deps/player.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT programopts.o -MD -MP -MF .deps/programopts.Tpo -c -o programopts.o programopts.cpp
mv -f .deps/programopts.Tpo .deps/programopts.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.cpp
mv -f .deps/status.Tpo .deps/status.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT status_msg.o -MD -MP -MF .deps/status_msg.Tpo -c -o status_msg.o status_msg.cpp
mv -f .deps/status_msg.Tpo .deps/status_msg.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT timer.o -MD -MP -MF .deps/timer.Tpo -c -o timer.o timer.cpp
mv -f .deps/timer.Tpo .deps/timer.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT ultragetopt.o -MD -MP -MF .deps/ultragetopt.Tpo -c -o ultragetopt.o ultragetopt.cpp
mv -f .deps/ultragetopt.Tpo .deps/ultragetopt.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.cpp
mv -f .deps/utils.Tpo .deps/utils.Po
/bin/bash ../libtool --tag=CXX --mode=link g++ -std=c++11 -g -O2 -static-libstdc++ -o mpd_oled bcm2835.o bcm2835_i2c.o glcdfont.o Adafruit_GFX.o ArduiPi_OLED.o display.o main.o player.o programopts.o status.o status_msg.o timer.o ultragetopt.o utils.o hjson_cpp/libhjsoncpp.la http_tiny/libhttptiny.la -lpthread -lmpdclient
libtool: link: g++ -std=c++11 -g -O2 -static-libstdc++ -o mpd_oled bcm2835.o bcm2835_i2c.o glcdfont.o Adafruit_GFX.o ArduiPi_OLED.o display.o main.o player.o programopts.o status.o status_msg.o timer.o ultragetopt.o utils.o hjson_cpp/.libs/libhjsoncpp.a http_tiny/.libs/libhttptiny.a -lpthread -lmpdclient
make[3]: Leaving directory '/home/pi/mpd_oled/src'
make[2]: Leaving directory '/home/pi/mpd_oled/src'
make[2]: Entering directory '/home/pi/mpd_oled'
make[2]: Leaving directory '/home/pi/mpd_oled'
make[1]: Leaving directory '/home/pi/mpd_oled'
pi@moode:~/mpd_oled $ sudo make install-strip
if test -z 'strip'; then \
make INSTALL_PROGRAM="/bin/bash /home/pi/mpd_oled/install-sh -c -s" \
install_sh_PROGRAM="/bin/bash /home/pi/mpd_oled/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
install; \
else \
make INSTALL_PROGRAM="/bin/bash /home/pi/mpd_oled/install-sh -c -s" \
install_sh_PROGRAM="/bin/bash /home/pi/mpd_oled/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \
fi
make[1]: Entering directory '/home/pi/mpd_oled'
Making install in src
make[2]: Entering directory '/home/pi/mpd_oled/src'
Making install in hjson_cpp
make[3]: Entering directory '/home/pi/mpd_oled/src/hjson_cpp'
make[4]: Entering directory '/home/pi/mpd_oled/src/hjson_cpp'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pi/mpd_oled/src/hjson_cpp'
make[3]: Leaving directory '/home/pi/mpd_oled/src/hjson_cpp'
Making install in http_tiny
make[3]: Entering directory '/home/pi/mpd_oled/src/http_tiny'
make[4]: Entering directory '/home/pi/mpd_oled/src/http_tiny'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pi/mpd_oled/src/http_tiny'
make[3]: Leaving directory '/home/pi/mpd_oled/src/http_tiny'
make[3]: Entering directory '/home/pi/mpd_oled/src'
make[4]: Entering directory '/home/pi/mpd_oled/src'
/usr/bin/mkdir -p '/usr/local/bin'
STRIPPROG='strip' /bin/bash ../libtool --mode=install /bin/bash /home/pi/mpd_oled/install-sh -c -s mpd_oled '/usr/local/bin'
libtool: install: /bin/bash /home/pi/mpd_oled/install-sh -c -s mpd_oled /usr/local/bin/mpd_oled
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pi/mpd_oled/src'
make[3]: Leaving directory '/home/pi/mpd_oled/src'
make[2]: Leaving directory '/home/pi/mpd_oled/src'
make[2]: Entering directory '/home/pi/mpd_oled'
make[3]: Entering directory '/home/pi/mpd_oled'
/usr/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c scripts/mpd_oled_service_install scripts/mpd_oled_service_edit scripts/mpd_oled_service_uninstall scripts/mpd_oled_launch_test scripts/mpd_oled_moode_audio_copy_install scripts/mpd_oled_moode_audio_copy_uninstall scripts/mpd_oled_moode_audio_copy_report scripts/mpd_oled_volumio_mpd_conf_install scripts/mpd_oled_volumio_mpd_conf_uninstall scripts/mpd_oled_raudio_mpd_conf_install scripts/mpd_oled_raudio_mpd_conf_uninstall scripts/mpd_oled_usrlocal_check scripts/mpd_oled_usrlocal_uninstall '/usr/local/bin'
/usr/bin/mkdir -p '/usr/local/share/doc/mpd_oled'
/usr/bin/install -c -m 644 README.md NEWS AUTHORS COPYING mpd_oled.jpg '/usr/local/share/doc/mpd_oled'
/usr/bin/mkdir -p '/usr/local/share/doc/mpd_oled/doc'
/usr/bin/install -c -m 644 doc/FAQ.md doc/install_moode7_deb.md doc/install_moode7_source.md doc/install_moode6_deb.md doc/install_moode6_source.md doc/install_volumio2_deb.md doc/install_volumio2_source.md doc/install_raudio1_zst.md doc/install_raudio1_source.md doc/wiring_i2c.png doc/wiring_spi.png '/usr/local/share/doc/mpd_oled/doc'
/usr/bin/mkdir -p '/usr/local/share/mpd_oled'
/usr/bin/install -c -m 644 scripts/mpd_oled_fifo.conf '/usr/local/share/mpd_oled'
/usr/bin/mkdir -p '/usr/local/share/mpd_oled/moode'
/usr/bin/install -c -m 644 scripts/moode6_mpd_fifo.patch scripts/moode7_mpd_fifo.patch scripts/moode_mpd_fifo_old.patch '/usr/local/share/mpd_oled/moode'
make[3]: Leaving directory '/home/pi/mpd_oled'
make[2]: Leaving directory '/home/pi/mpd_oled'
make[1]: Leaving directory '/home/pi/mpd_oled'
pi@moode:~/mpd_oled $ sudo nano /boot/config.txt
pi@moode:~/mpd_oled $ sqlite3 /var/local/www/db/moode-sqlite3.db "update cfg_system set value=1 where param='extmeta'" && mpc add ""
pi@moode:~/mpd_oled $
pi@moode:~/mpd_oled $ sudo mpd_oled_service_install
Created symlink /etc/systemd/system/multi-user.target.wants/mpd_oled.service → /etc/systemd/system/mpd_oled.service.
pi@moode:~/mpd_oled $ sudo mpd_oled_service_edit -o 1 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
setting service file to run: mpd_oled '-o 1 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1'
pi@moode:~/mpd_oled $
Posts: 565
Threads: 5
Joined: Mar 2020
Reputation:
30
08-29-2021, 10:42 AM
(This post was last modified: 08-29-2021, 10:48 AM by fdealexa.
Edit Reason: Additional infoes
)
just a little better...
It seems like the ALSA loopback is not enable: would you please control it (on the moOde UI:
"m" (up-right)
"Configure"
"Audio"
section ALSA Options
"ALSA loopback" ON and "SET")
Later we will test the rpi4.
Bye
Posts: 565
Threads: 5
Joined: Mar 2020
Reputation:
30
If it is already ON,
please try to do:
sudo reboot
Posts: 159
Threads: 8
Joined: Dec 2018
Reputation:
0
08-29-2021, 11:45 AM
(This post was last modified: 08-29-2021, 11:46 AM by Jempie.)
already set to on
(08-29-2021, 10:42 AM)fdealexa Wrote: just a little better...
It seems like the ALSA loopback is not enable: would you please control it (on the moOde UI:
"m" (up-right)
"Configure"
"Audio"
section ALSA Options
"ALSA loopback" ON and "SET")
Later we will test the rpi4.
Bye ALSA Options
Advanced Linux Sound Architecture (ALSA) is a software framework and part of the Linux kernel that provides an application programming interface (API) for sound card device drivers and audio applications.
ALSA max volume
% SETEstablish 0dB when MPD volume control is set to Software or Fixed, or when any Renderers are active.
NOTE: The HDMI port will be correctly set to 0dB instead of +4dB at 100%.
ALSA output mode
Default (plughw) Direct (hw)
Default (plughw)
[size=undefined]
SETDefault (plughw)
Perform automatic conversions if needed for example 0-pad the bit depth to a width supported by the audio device.
Enable a mechanism for creating a Loopback device that provudes a copy of the PCM stream.
Direct (hw)
No automatic conversions are performed. The audio device must support the output format or playback will not occur.
Supported by MPD, Bluetooth (inbound), Airplay and Spotify renderers and CamillaDSP.
NOTE: Loopback is not supported in Direct mode.
NOTE: Crossfeed, Parametric EQ and Graphic EQ output using plughw regardless of this setting.[/size]
ALSA loopback
[color=var(--accentxts)]ON[color=var(--accentxts)]OFF[/color]
SET
The ALSA Loopback device provides a copy of the PCM stream being output to the audio device. The copy can be accessed by reading "hw:Loopback,1,0".
NOTE: Max sample rate is 384 kHz.[/color]
MPD Options
Posts: 159
Threads: 8
Joined: Dec 2018
Reputation:
0
(08-29-2021, 10:49 AM)fdealexa Wrote: If it is already ON,
please try to do:
sudo reboot
reboot done
still no bars
als get the same error when playing
Posts: 565
Threads: 5
Joined: Mar 2020
Reputation:
30
Sorry, Jempie, I cannot see if it is ON or not: please put or keep it ON and click on SET.
Please try also the
"sudo reboot" (via putty) or "Power RESTART" (via moOde UI)
and let us know.
Bye,
Francesco
Posts: 159
Threads: 8
Joined: Dec 2018
Reputation:
0
(08-29-2021, 12:45 PM)fdealexa Wrote: Sorry, Jempie, I cannot see if it is ON or not: please put or keep it ON and click on SET.
Please try also the
"sudo reboot" (via putty) or "Power RESTART" (via moOde UI)
and let us know.
Bye,
Francesco
francesco,
its on and i have reboot
no bars
|