Moode Forum

Full Version: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(08-26-2021, 05:44 PM)adrii Wrote: [ -> ]Hi Jempie

Did you run the commands to install the dependencies?

   https://github.com/antiprism/mpd_oled/bl...pendencies

Adrian.

Hi Adrian,

I just followed the installation

sudo apt update

sudo apt install autoconf make libtool libfftw3-dev libmpdclient-dev libi2c-dev i2c-tools lm-sensors

Yes I did 
I use putty not ssh in moode 

I have try mere then one I clean img of moode 
Als difference img of moode 

The same error

I use rpi 3b
@Jempie

I'm puzzled. I can't tell what went wrong with your install but from the error message you posted 

Code:
checking for fftw_execute in -lfftw3... no
configure: error: fftw library is required!

it would seem that the fftw3-dev package did not get installed; I don't know why.

I just tried the same instructions on a new moOde player and succeeded without any errors. 

Here's the first part of the output I see for the first step

Code:
pi@moode:~ $ sudo apt install autoconf make libtool libfftw3-dev libmpdclient-dev 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 67 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]


As you can see, the package libfftw3-dev was included along with libfftw3-bin.

This was confirmed in the configure step:

Code:
pi@moode:~/cava $ ./configure --disable-input-portaudio --disable-input-sndio --disable-output-ncurses --disable-input-pulse --program-prefix=mpd_oled_
...
checking for fftw_execute in -lfftw3... yes
...

The make step proceeded with many lines of output I won't repeat here.

Regards,
Kent
(08-26-2021, 11:40 PM)TheOldPresbyope Wrote: [ -> ]@Jempie

I'm puzzled. I can't tell what went wrong with your install but from the error message you posted 

Code:
checking for fftw_execute in -lfftw3... no
configure: error: fftw library is required!

it would seem that the fftw3-dev package did not get installed; I don't know why.

I just tried the same instructions on a new moOde player and succeeded without any errors. 

Here's the first part of the output I see for the first step

Code:
pi@moode:~ $ sudo apt install autoconf make libtool libfftw3-dev libmpdclient-dev 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 67 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]


As you can see, the package libfftw3-dev was included along with libfftw3-bin.

This was confirmed in the configure step:

Code:
pi@moode:~/cava $ ./configure --disable-input-portaudio --disable-input-sndio --disable-output-ncurses --disable-input-pulse --program-prefix=mpd_oled_
...
checking for fftw_execute in -lfftw3... yes
...

The make step proceeded with many lines of output I won't repeat here.

Regards,
Kent

Kent,

oke, thanks

I will try again, everything that I do with Displays does not work also Pypyper
I have also a brand new PRI 4

i will try step by step wich moode version do you use?


is there a way to reset the PRI3/B

Thanks
Hi Jempie

Could you post the output of

Code:
sudo apt install autoconf make libtool libfftw3-dev libmpdclient-dev libi2c-dev i2c-tools lm-sensors

And if the output includes the line 'libfftw3-dev is already the newest version' then try to run configure in the cava directory again.

Kent, thanks for reviewing the start of the mpd_oled installation on a fresh Moode install.

Adrian.
(08-27-2021, 06:55 AM)adrii Wrote: [ -> ]Hi Jempie

Could you post the output of

Code:
sudo apt install autoconf make libtool libfftw3-dev libmpdclient-dev libi2c-dev i2c-tools lm-sensors

And if the output includes the line 'libfftw3-dev is already the newest version' then try to run configure in the cava directory again.

Kent, thanks for reviewing the start of the mpd_oled installation on a fresh Moode install.

Adrian.

Did try again see here

first code

login as: pi
pi@192.168.2.26's password:
RaspiOS 10.6 | 5.4.77-v7+ #1371 | armv7l (32-bit)

                      ____     __        ____
          __ _  ___  / __ \___/ /__     /_  /
         /  ' \/ _ \/ /_/ / _  / -_)     / /
        /_/_/_/\___/\____/\_,_/\__/     /_/

                 moOde audio player
              Release 7.2.1 2021-05-06
                © 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 update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' change                                                                                                                                                             d its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be ap                                                                                                                                                             plied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository?                                                                                                                                                              [y/N] y
Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB]
Fetched 425 kB in 13s (33.2 kB/s)
Reading package lists... Done
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian.../InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@moode:~ $
Hi Jempie,
Would you please take a picture of the back of your LCD?
Regards and thanks,
Francesco
(08-27-2021, 06:59 AM)Jempie Wrote: [ -> ]
(08-27-2021, 06:55 AM)adrii Wrote: [ -> ]Hi Jempie

Could you post the output of

Code:
sudo apt install autoconf make libtool libfftw3-dev libmpdclient-dev libi2c-dev i2c-tools lm-sensors

And if the output includes the line 'libfftw3-dev is already the newest version' then try to run configure in the cava directory again.

Kent, thanks for reviewing the start of the mpd_oled installation on a fresh Moode install.

Adrian.

Did try again see here

first code

login as: pi
pi@192.168.2.26's password:
RaspiOS 10.6 | 5.4.77-v7+ #1371 | armv7l (32-bit)

                      ____     __        ____
          __ _  ___  / __ \___/ /__     /_  /
         /  ' \/ _ \/ /_/ / _  / -_)     / /
        /_/_/_/\___/\____/\_,_/\__/     /_/

                 moOde audio player
              Release 7.2.1 2021-05-06
                © 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 update
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' change                                                                                                                                                             d its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be ap                                                                                                                                                             plied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository?                                                                                                                                                              [y/N] y
Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB]
Fetched 425 kB in 13s (33.2 kB/s)
Reading package lists... Done
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian.../InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@moode:~ $
Kent,

brand new RPI 4

login as: pi
pi@192.168.2.11's password:
RaspiOS 10.6 | 5.4.77-v7l+ #1371 | armv7l (32-bit)

                      ____     __        ____
          __ _  ___  / __ \___/ /__     /_  /
         /  ' \/ _ \/ /_/ / _  / -_)     / /
        /_/_/_/\___/\____/\_,_/\__/     /_/

                 moOde audio player
              Release 7.2.1 2021-05-06
                © 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.

Last login: Fri Aug 27 02:56:51 2021 from 192.168.2.12
pi@moode:~ $ sudo apt update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y
Fetched 15.0 kB in 3s (4,535 B/s)
Reading package lists... Done
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian.../InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@moode:~ $
(08-27-2021, 07:03 AM)fdealexa Wrote: [ -> ]Hi Jempie,
Would you please take a picture of the back of your LCD?
Regards and thanks,
Francesco

Francesco,

herby the displays

[attachment=2497]


Jem
(08-27-2021, 06:55 AM)adrii Wrote: [ -> ]Hi Jempie

Could you post the output of

Code:
sudo apt install autoconf make libtool libfftw3-dev libmpdclient-dev libi2c-dev i2c-tools lm-sensors

And if the output includes the line 'libfftw3-dev is already the newest version' then try to run configure in the cava directory again.

Kent, thanks for reviewing the start of the mpd_oled installation on a fresh Moode install.

Adrian.
Adrian,

login as: pi
pi@192.168.2.11's password:
RaspiOS 10.6 | 5.4.77-v7l+ #1371 | armv7l (32-bit)

                      ____     __        ____
          __ _  ___  / __ \___/ /__     /_  /
         /  ' \/ _ \/ /_/ / _  / -_)     / /
        /_/_/_/\___/\____/\_,_/\__/     /_/

                 moOde audio player
              Release 7.2.1 2021-05-06
                © 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.

Last login: Fri Aug 27 03:04:31 2021 from 192.168.2.12
pi@moode:~ $ sudo apt install autoconf make libtool libfftw3-dev libmpdclient-dev 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 67 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,805 kB/s)
Selecting previously unselected package libfftw3-bin.
(Reading database ... 68244 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:~ $
Hi Jempie

Could you look at my last post again, as I asked for the output of a different command.

Adrian.