CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/tmp/moonlight-embedded/build/CMakeFiles/CMakeOutput.log".
I am not an embedded systems programmer so I googled around and this stack overflow answer was the fix for me: https://stackoverflow.com/a/63486955/984078 (install build-essential).
Keep in mind this is a fresh install of OSMC and the instructions went smoothly until cmake. I wanted to suggest maybe updating the instructions to include build-essential in the initial list of libs/deps needed via apt-get? I am more than willing to update the docs myself but I was afraid it would be considered bad practice for some rando to add deps to the install list.
PS, is it expected that the build-essential package is already installed or that I am supposed to know to install that on the pi before going through the instructions?
I found out what I was doing was really really outdated so I decided to close this issue. Information here is still valid though (cmake fails in that environment etc.).
Please provide the following info.
_NVidia Geforce Experience version: N/A Moonlight Embedded version: 2.5.1 Moonlight Embedded source: N/A Moonlight Embedded running on: RPi 3B v 1.2 Moonlight Embedded running on distribution: OSMC for RPi 2/3/3+ v2021.08-1
Verbose output
-verbose
of Moonlight Embedded: N/A (See Below)I followed the directions exactly as described in the wiki page here: https://github.com/moonlight-stream/moonlight-embedded/wiki/Full-details-for-Compilation-and-Installation-in-Raspbian-Or-OSMC. However when I tried to run cmake I kept getting this error:
I am not an embedded systems programmer so I googled around and this stack overflow answer was the fix for me: https://stackoverflow.com/a/63486955/984078 (install
build-essential
).Keep in mind this is a fresh install of OSMC and the instructions went smoothly until
cmake
. I wanted to suggest maybe updating the instructions to includebuild-essential
in the initial list of libs/deps needed via apt-get? I am more than willing to update the docs myself but I was afraid it would be considered bad practice for some rando to add deps to the install list.PS, is it expected that the
build-essential
package is already installed or that I am supposed to know to install that on the pi before going through the instructions?