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

    Just got my Powerblock and need help installing

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    petrockblock
    8 Posts 4 Posters 2.1k Views
    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.
    • M
      MajorNerdgasm
      last edited by

      Hello

      So I just recieved my PowerBlock from petrockblock and having problem installing it.

      I tried the Quick Installation guide but it failed miserable, something about not find a host.

      So I started with the manual install and went forward and now I'm stuck at this part.


      cd PowerBlock
      mkdir build && cd build
      cmake ..
      make


      I'm getting this error:


      pi@retropie:~ $ cd PowerBlock
      pi@retropie:~/PowerBlock $ mkdir build && cd build
      mkdir: cannot create directory ‘build’: File exists
      pi@retropie:~/PowerBlock $ cmake ..
      CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt.
      Specify --help for usage, or press the help button on the CMake GUI.
      pi@retropie:~/PowerBlock $


      I'm really new to unix etc but I thought this would be easy :)

      Best Regards
      John

      B 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by mitu

        @majornerdgasm said in Just got my Powerblock and need help installing:

        pi@retropie:~ $ cd PowerBlock

        Just remove the build folder and start again. The command to remove it:

        rm -fr /home/pi/PowerBlock/build
        
        1 Reply Last reply Reply Quote 0
        • M
          MajorNerdgasm
          last edited by

          Seems like DOXYGEN is missing, but I ran these lines before:

          sudo apt-get update
          sudo apt-get upgrade -y
          sudo apt-get install -y cmake g++-4.9 doxygen

          ____________________________________________
          pi@retropie:~ $ rm -fr /home/pi/PowerBlock/build
          pi@retropie:~ $ cd PowerBlock
          pi@retropie:~/PowerBlock $ mkdir build && cd build
          pi@retropie:~/PowerBlock/build $ cmake ..
          -- The C compiler identification is GNU 4.9.2
          -- The CXX compiler identification is GNU 4.9.2
          -- Check for working C compiler: /usr/bin/cc
          -- Check for working C compiler: /usr/bin/cc -- works
          -- Detecting C compiler ABI info
          -- Detecting C compiler ABI info - done
          -- Detecting C compile features
          -- Detecting C compile features - done
          -- Check for working CXX compiler: /usr/bin/c++
          -- Check for working CXX compiler: /usr/bin/c++ -- works
          -- Detecting CXX compiler ABI info
          -- Detecting CXX compiler ABI info - done
          -- Detecting CXX compile features
          -- Detecting CXX compile features - done
          -- JsonCpp Version: 1.7.7
          -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.9", minimum required is "2.6")
          -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
          CMake Error at doc/CMakeLists.txt:6 (MESSAGE):
            Doxygen is needed to build the documentation.
          
          
          -- Configuring incomplete, errors occurred!
          See also "/home/pi/PowerBlock/build/CMakeFiles/CMakeOutput.log".
          pi@retropie:~/PowerBlock/build $ make
          make: *** No targets specified and no makefile found.  Stop.
          pi@retropie:~/PowerBlock/build $
          __________________________________________________
          

          Best Regards
          John

          1 Reply Last reply Reply Quote 0
          • B
            barrymossel @MajorNerdgasm
            last edited by

            @majornerdgasm said in Just got my Powerblock and need help installing:

            Hello

            So I just recieved my PowerBlock from petrockblock and having problem installing it.

            I tried the Quick Installation guide but it failed miserable, something about not find a host.

            Shouldn't the quick install be the following? So a slash between master and install.sh.

            wget -O - https://raw.githubusercontent.com/petrockblog/PowerBlock/master/install.sh | sudo bash
            
            M B 2 Replies Last reply Reply Quote 0
            • M
              MajorNerdgasm @barrymossel
              last edited by MajorNerdgasm

              @barrymossel

              Thanks man, that did work!

              Now the powerblock seems to work just fine! :D

              They guy should update his github instructions. For a noob like me, I wouldn't see an error like that.

              1 Reply Last reply Reply Quote 0
              • B
                barrymossel @barrymossel
                last edited by

                @barrymossel said in Just got my Powerblock and need help installing:

                @majornerdgasm said in Just got my Powerblock and need help installing:

                Hello

                So I just recieved my PowerBlock from petrockblock and having problem installing it.

                I tried the Quick Installation guide but it failed miserable, something about not find a host.

                Shouldn't the quick install be the following? So a slash between master and install.sh.

                wget -O - https://raw.githubusercontent.com/petrockblog/PowerBlock/master/install.sh | sudo bash
                

                Maybe @petrockblog can update his github? ;)

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

                  Sorry for that typo! I have just pushed the fix for that.

                  M 1 Reply Last reply Reply Quote 1
                  • M
                    MajorNerdgasm @petrockblog
                    last edited by

                    @petrockblog

                    Thanks for a great product :D

                    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.