1
Xlights Setup / Re: Raspberry Pi 64 Bit OS
« on: April 15, 2022, 07:44:02 AM »
Install xLights on Raspberry Pi 64 bit OS build instructions.
Requires and tested on Bulleyes 64 bit OS.
see for reference:
https://github.com/smeighan/xLights#readme
Open terminal and update your system before beginning:
sudo apt update
sudo apt full-upgrade
sudo apt clean
Using apt-get, install the packages listed in the readme file.
Copy and paste:
sudo apt-get install g++ gcc build-essential libgtk-3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev freeglut3-dev libavcodec-dev libavformat-dev libswscale-dev libsdl2-dev libswresample-dev libavutil-dev libavresample-dev libportmidi-dev libzstd-dev libcurl4-openssl-dev libltc-dev liblua5.3-dev wget git cbp2make
Install log4cpp for Debian Bullseye or make will crash:
sudo apt install liblog4cpp5-dev
Get the xLights source code by copying:
git clone --recurse-submodules https://github.com/smeighan/xLights.git xLights
Change directory to where this was downloaded:
cd xLights
Now you can build xLights which will take between 3.5 and 4.5 hours. The 2>&1 | tee make_error.txt isn?t needed but captures the screen output that will indicate errors.
sudo make 2>&1 | tee make_error.txt
Then install xLights.
sudo make install 2>&1 | tee install_error.txt
xLights will be found in the Raspberry start menu under Sounds & Video.
xLights icons loaded in an earlier test but did not in later.
Note qm-vamp may not have installed. The following error message was received:
install -d -m 755 //usr/lib/vamp
install -D -m 644 lib/linux/qm-vamp-plugins-1.7/INSTALL_linux.txt //usr/lib/vamp/ ; install -D -m 644 lib/linux/qm-vamp-plugins-1.7/qm-vamp-plugins.n3 //usr/lib/vamp/ ; install -D -m 644 lib/linux/qm-vamp-plugins-1.7/README.txt //usr/lib/vamp/ ; install -D -m 644 lib/linux/qm-vamp-plugins-1.7/qm-vamp-plugins.cat //usr/lib/vamp/ ;
install -D -m 644 lib/linux/qm-vamp-plugins-1.7/qm-vamp-plugins.so.`uname -m` //usr/lib/vamp/qm-vamp-plugins.so
install: cannot stat 'lib/linux/qm-vamp-plugins-1.7/qm-vamp-plugins.so.aarch64': No such file or directory
make: *** [Makefile:147: install] Error 1
However I was able to load a musical sequence.
Run the clean command:
sudo make clean 2>&1 | tee clean_error.txt
Consider this a beta release. In my early testing it is working as good as a Windows build.
Requires and tested on Bulleyes 64 bit OS.
see for reference:
https://github.com/smeighan/xLights#readme
Open terminal and update your system before beginning:
sudo apt update
sudo apt full-upgrade
sudo apt clean
Using apt-get, install the packages listed in the readme file.
Copy and paste:
sudo apt-get install g++ gcc build-essential libgtk-3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev freeglut3-dev libavcodec-dev libavformat-dev libswscale-dev libsdl2-dev libswresample-dev libavutil-dev libavresample-dev libportmidi-dev libzstd-dev libcurl4-openssl-dev libltc-dev liblua5.3-dev wget git cbp2make
Install log4cpp for Debian Bullseye or make will crash:
sudo apt install liblog4cpp5-dev
Get the xLights source code by copying:
git clone --recurse-submodules https://github.com/smeighan/xLights.git xLights
Change directory to where this was downloaded:
cd xLights
Now you can build xLights which will take between 3.5 and 4.5 hours. The 2>&1 | tee make_error.txt isn?t needed but captures the screen output that will indicate errors.
sudo make 2>&1 | tee make_error.txt
Then install xLights.
sudo make install 2>&1 | tee install_error.txt
xLights will be found in the Raspberry start menu under Sounds & Video.
xLights icons loaded in an earlier test but did not in later.
Note qm-vamp may not have installed. The following error message was received:
install -d -m 755 //usr/lib/vamp
install -D -m 644 lib/linux/qm-vamp-plugins-1.7/INSTALL_linux.txt //usr/lib/vamp/ ; install -D -m 644 lib/linux/qm-vamp-plugins-1.7/qm-vamp-plugins.n3 //usr/lib/vamp/ ; install -D -m 644 lib/linux/qm-vamp-plugins-1.7/README.txt //usr/lib/vamp/ ; install -D -m 644 lib/linux/qm-vamp-plugins-1.7/qm-vamp-plugins.cat //usr/lib/vamp/ ;
install -D -m 644 lib/linux/qm-vamp-plugins-1.7/qm-vamp-plugins.so.`uname -m` //usr/lib/vamp/qm-vamp-plugins.so
install: cannot stat 'lib/linux/qm-vamp-plugins-1.7/qm-vamp-plugins.so.aarch64': No such file or directory
make: *** [Makefile:147: install] Error 1
However I was able to load a musical sequence.
Run the clean command:
sudo make clean 2>&1 | tee clean_error.txt
Consider this a beta release. In my early testing it is working as good as a Windows build.