Reply To: Unable to 'make' PowerBlock service in OSMC

Home Forums RetroPie Project GPIO Adapter, ControlBlock etc. Unable to 'make' PowerBlock service in OSMC Reply To: Unable to 'make' PowerBlock service in OSMC

#116094
Profile photo of smartroad
smartroad
Participant

So I deleted the powerblock directory totally and went back through the instructions. Still had the same issue 🙁 Noticed it mentioned an error log file so have attached that. Seems like it is missing something, but I have done “sudo apt-get install -y cmake g++-4.9” which is what it asked for and it installed g++, said that cmake was already the up to date version.

/PowerBlock$ make
cd src/powerblock && make all
make[1]: Entering directory '/home/osmc/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" ../..
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (PROJECT):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:2 (PROJECT):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "/home/osmc/PowerBlock/src/lib/jsoncpp/build/release/CMakeFiles/CMakeOutput.log".
See also "/home/osmc/PowerBlock/src/lib/jsoncpp/build/release/CMakeFiles/CMakeError.log".
Makefile:27: recipe for target '../lib/jsoncpp/build/release/lib/libjsoncpp.a' failed
make[1]: *** [../lib/jsoncpp/build/release/lib/libjsoncpp.a] Error 1
make[1]: Leaving directory '/home/osmc/PowerBlock/src/powerblock'
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 2
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: CMAKE_C_COMPILER-NOTFOUND
Build flags:
Id flags:

The output was:
No such file or directory

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: CMAKE_C_COMPILER-NOTFOUND
Build flags:
Id flags: -c

The output was:
No such file or directory

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: CMAKE_C_COMPILER-NOTFOUND
Build flags:
Id flags: -Aa

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c

The output was:
No such file or directory

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: CMAKE_C_COMPILER-NOTFOUND
Build flags:
Id flags:

The output was:
No such file or directory

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: CMAKE_C_COMPILER-NOTFOUND
Build flags:
Id flags: -c

The output was:
No such file or directory

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: CMAKE_C_COMPILER-NOTFOUND
Build flags:
Id flags: -Aa

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:

The output was:
No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c

The output was:
No such file or directory

Skip to toolbar