Describe the bug
lr-easyrpg requires Cmake 3.18+ but Buster only allows Cmake 3.16 from Apt
To Reproduce
Steps to reproduce the behavior:
- select lr-easyrpg (and easyrpg-player) to be available for install
- attempt to build lr-easyrpg from source
- error out
- check error log, note it states Cmake 3.18+ is required.
Expected behavior
Either list it cannot be installed on Buster, or script in to built Cmake 3.18 from source. (unfortunately might be something to disable this until Bullseye is eventually released)
Device (please complete the following information):
- Pi Zero 2 W (Pi 3 equivalent)
- RetroPi 4.8 (Buster)
Additional context
Relevant part of error log:
= = = = = = = = = = = = = = = = = = = = =
Building 'lr-easyrpg' : RPG Maker 2000/2003 engine - EasyRPG Player interpreter port for libretro.
= = = = = = = = = = = = = = = = = = = = =
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.18 or higher is required. You are running version 3.16.3
-- Configuring incomplete, errors occurred!
Error: could not find CMAKE_PROJECT_NAME in Cache
Could not successfully build lr-easyrpg - RPG Maker 2000/2003 engine - EasyRPG Player interpreter port for libretro. (/home/pi/RetroPie-Setup/tmp/build/lr-easyrpg/build/easyrpg_libretro.so not found).
/home/pi/RetroPie-Setup
Also of note, it isn't too hard to build Cmake 4.0.1 on the Pi Zero 2 W, just takes about 12 hours to do so
- Download source file: https://github.com/Kitware/CMake/releases/download/v4.1.1/cmake-4.1.1.tar.gz
- Remove current version of Cmake (sudo apt remove cmake)
- extract downloaded Cmake, enter folder and set up build env (./bootstrap)
- make: make -j$(nproc) <- this is where it took about 12 hours to complete.
- install: sudo make install
- reboot
you now have Cmake 4.0.1 installed.
as a precaution, also remove cmake from the easyrpg-player.sh requirements so it doesn't try to reinstall 3.16
Describe the bug
lr-easyrpg requires Cmake 3.18+ but Buster only allows Cmake 3.16 from Apt
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Either list it cannot be installed on Buster, or script in to built Cmake 3.18 from source. (unfortunately might be something to disable this until Bullseye is eventually released)
Device (please complete the following information):
Additional context
Relevant part of error log:
Also of note, it isn't too hard to build Cmake 4.0.1 on the Pi Zero 2 W, just takes about 12 hours to do so
you now have Cmake 4.0.1 installed.
as a precaution, also remove cmake from the easyrpg-player.sh requirements so it doesn't try to reinstall 3.16