Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

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 2

    The 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!


  • Global Moderator

    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


  • Global Moderator

    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!


Log in to reply
 

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.