RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs

    PowerBlock and Volumio

    ControlBlock, PowerBlock & Co.
    5
    8
    2066
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dolomitejunkie
      dolomitejunkie last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • petrockblog
        petrockblog Global Moderator last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • dawed
          dawed last edited by

          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

          mayday 1 Reply Last reply Reply Quote 0
          • petrockblog
            petrockblog Global Moderator last edited by

            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!

            1 Reply Last reply Reply Quote 0
            • mayday
              mayday @dawed last edited by mayday

              @dawed @petrockblog could you explain more. I'm having issues installing powerblock on volumio. I'm kind of new to the pi world.

              petrockblog 1 Reply Last reply Reply Quote 0
              • petrockblog
                petrockblog Global Moderator @mayday last edited by

                @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).

                efrank 1 Reply Last reply Reply Quote 0
                • efrank
                  efrank @petrockblog last edited by

                  @petrockblog
                  Will the PB script still work with the new Volumio 3 now that they are using Debian Buster and not Debian Jesse?

                  petrockblog 1 Reply Last reply Reply Quote 0
                  • petrockblog
                    petrockblog Global Moderator @efrank last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    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.