Building mediacenter-osmc error on vero5 (May 2026)

Fresh OSMC install from USB stick. Git checkout of May tag and make vero5 in the mediacenter-osmc package.

OSMC mediacenter build for Vero 5 fails for me during the binary addons step:

CMake Error at cmake_install.cmake:54 (file):
  file INSTALL cannot find <path>/2048_libretro.so: No such file or directory
make[3]: *** [Makefile:137: install] Error 1
make[2]: *** [CMakeFiles/2048.dir/build.make:93: 2048/src/2048-stamp/2048-install] Error 2
make[1]: *** [CMakeFiles/2048.dir/all] Error 2

The 2048 addon compiles cleanly but outputs 2048_libretro.dll (Windows DLL) instead of 2048_libretro.so. The cmake install step then can’t find the .so and aborts.

Potential Root cause:

The libretro 2048 addon’s CMakeLists.txt contains:

elseif(CORE_SYSTEM_NAME STREQUAL linux)
    if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|arm64")
        set(PLATFORM unix-aarch64)
    elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
        set(PLATFORM unix-neon)
    else()
        set(PLATFORM unix)
    endif()

On Vero 5, CMAKE_SYSTEM_PROCESSOR=armv7l matches ^arm, so PLATFORM=unix-neon. CMake then invokes make platform=unix-neon on the bundled Makefile.libretro.

That Makefile seem to have no unix-neon case. Known platforms are unix, linux-portable, osx, ios-arm64, tvos-arm64, qnx, emscripten, and various consoles. An unrecognized platform= value falls through to the Makefile’s default branch, which produces Windows-style .dll output.

I tried to patch it in the build.sh file. But it never worked right.

Yeah, I am bit lost in the makefile + build/sh + ../common.sh + ../../scripts/common.sh chain that is chrooted an then goes Kodi CMake, and what belongs to what. It’s hard to track issues with multi threaded compiling down the chain, that always starts from scratch. So a bit lost here how to fix the issue.

And advise?

Sorry for the late reply.

How exactly are you trying to build Kodi?

Start with a fresh build.

It should just involve:

sudo apt-get install git -y
git clone https://github.com/osmc/osmc
cd osmc
cd package/mediacenter-osmc
make vero5

Sam

Yeah did exaclty that. Fresh on a new Vero 5. Just didn’t compile for me. Checked out the correct branch and matching the actaul release even to be sure it’s the correct version.

In the end I removed the retro stuff from the addons list in the build script so Kodi gets build without it. But since it’s included with OSMC I was wondering what I did wrong. Maybe upstream issue I just hit?

Well will see when I built again on future updates if it still happens.

PS: I build myself becaue my Kodi is patched for SQL stuff, proper full DB cleaning without any lelftovers and some minor other stuff that annoys me, plus some profile changs (uses only one DB and tracks watched state per user) and some remote API calls I added (and yes this ahppens without any patches it’s libretro on its own if using he building process). Hence I build it each time I update and ported the patches. And recently did a Vero5 update as an older 4K/4K+ was dying so time to use the cold spare and update.

I’d try a build without any patches on your side first

That was the first thing I tried, as mentioned.

As said if this is not a known problem, well I assuem at the time I tried it was an upstream issue. Next release when I find time to rebuild will try and if needed revive this thread.