PowerBlock and Volumio
-
This bit of kit is lovely and works as advertised above with Raspbian and RPi3.
However I really want to use it for a project using Volumio dist. I was wondering if anyone could help as I have run into some problems.
I am currently trying to run the 'make' command after doing the clone from git and I get the following output:
volumio@vintage-radio:~/PowerBlock$ make
cd src/powerblock && make all
make[1]: Entering directory
'/home/volumio/PowerBlock/src/powerblock'
cd ../lib/jsoncpp/ && mkdir -p build/release
cd ../lib/jsoncpp/build/release && cmake
-DCMAKE_BUILD_TYPE=release
-DJSONCPP_LIB_BUILD_SHARED=OFF -G "Unix Makefiles"
../..
-- JsonCpp Version: 1.0.0
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/volumio/PowerBlock/src/lib/jsoncpp
cd ../lib/jsoncpp/build/release && make
make[2]: Entering directory
'/home/volumio/PowerBlock/src/lib/jsoncpp/build/release'
make[2]: *** No targets specified and no makefile
found. Stop.
make[2]: Leaving directory
'/home/volumio/PowerBlock/src/lib/jsoncpp/build/release'
Makefile:28: recipe for target
'../lib/jsoncpp/build/release/lib/libjsoncpp.a'
failed
make[1]: ***
[../lib/jsoncpp/build/release/lib/libjsoncpp.a]
Error 2
make[1]: Leaving directory
'/home/volumio/PowerBlock/src/powerblock'
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 2The first part runs as advertised but the problems seem to start when it tried to:
make[2]: *** No targets specified and no makefile
found. Stop.Any help would be much appreciated!
-
There must be something different between Volume and the stripped-down Raspbian that is used for RetroPie. I must take a look into this to give yo further hints. Maybe someone else has an idea?
-
Just a hint for those who installing powerblock and Volumio...
Use allways sudo and before do the cmake stuff, you need to install first some c++ stuff:
sudo apt-get install build-essential -
Thanks for the hint! I have updated the README. The install script (install.sh) already had that package. I was not aware of these differences.
Glad that it is working for your now!
-
@dawed @petrockblog could you explain more. I'm having issues installing powerblock on volumio. I'm kind of new to the pi world.
-
@mayday You need to login to you Volumio via SSH (https://volumio.github.io/docs/User_Manual/SSH.html) and then execute the one-line set script of the PowerBlock (https://github.com/petrockblog/PowerBlock#installation).
-
@petrockblog
Will the PB script still work with the new Volumio 3 now that they are using Debian Buster and not Debian Jesse? -
@efrank Hi! It should. I still need to test it out with the newest Volumio distribution, though. Thanks for the hint! On vanilla Buster Raspbian it is working.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.