The full output on the console reads....
-- IPO supported and enabled in Release.
CMake Warning at cmake/LibFindMacros.cmake:263 (message):
WARNING: MISSING PACKAGE
We could not find development headers for DISCORDRPC. Do you have the
necessary dev package installed? This package is NOT REQUIRED and you may
ignore this warning but by doing so you may miss some functionality of
openrct2.
Relevant CMake configuration variables:
DISCORDRPC_INCLUDE_DIR=<not found>
DISCORDRPC_LIBRARY=<not found>
You may use CMake GUI, cmake -D or ccmake to modify the values. Delete
CMakeCache.txt to discard all values and force full re-detection if
necessary.
Call Stack (most recent call first):
cmake/FindDiscordRPC.cmake:25 (libfind_process)
CMakeLists.txt:203 (find_package)
-- Unsupported CXXFLAG: -Wmissing-variable-declarations
-- Unsupported CXXFLAG: -Wunreachable-code-break
-- Unsupported CXXFLAG: -Wrange-loop-analysis
-- Unsupported CXXFLAG: -Wtautological-unsigned-zero-compare
Found Google benchmark, enabling support
-- Found the following ICU libraries:
-- uc (required)
-- Checking for module 'flac'
-- No package 'flac' found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
src/openrct2-ui/CMakeLists.txt:27 (PKG_CHECK_MODULES)
CMakeLists.txt:368 (include)
-- Configuring incomplete, errors occurred!
See also "/home/raspberrypi/OpenRCT2/OpenRCT2/build/CMakeFiles/CMakeOutput.log".
See also "/home/raspberrypi/OpenRCT2/OpenRCT2/build/CMakeFiles/CMakeError.log".
Any help would be appreciated