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

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.

    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



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


  • 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



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


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



  • @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? ;)


  • Global Moderator

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



  • @petrockblog

    Thanks for a great product :D


 

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.