antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.41k stars 190 forks source link

Cmake fails because of libplist "missing" even though it is installed. #134

Open ivanzgroot opened 1 year ago

ivanzgroot commented 1 year ago

Cmake fails looking for libplist-2.0 but libplist-2.2.0-9.fc38.x86_64 is already installed. Running on Fedora 38.

`-- Project name: uxplay -- Will compile using X11 Libraries (use cmake option -DNO_X11_DEPS=ON if X11 dependence is not wanted) -- CFLAGS "" from build environment will be postpended to CMAKE_CFLAGS -- Using CFLAGS with -march=native -- ONLY USE THIS WHEN COMPILING ON THE MACHINE THAT WILL RUN UXPLAY -- run "cmake -DNO_MARCH_NATIVE=ON" to switch off this compiler option -- using CMAKE_CFLAGS: -DSTANDALONE -DSTDC_CONSTANT_MACROS -DSTDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Ofast -march=native -- Checking for one of the modules 'libplist>=2.0' -- Checking for one of the modules 'libplist-2.0' CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:894 (message): None of the required 'libplist-2.0' found Call Stack (most recent call first): lib/CMakeLists.txt:92 (pkg_search_module)

-- Will use X_DISPLAY_FIX -- ZOOMFIX will NOT be applied as Gstreamer version is >= 1.20 -- Configuring incomplete, errors occurred!`

if I run:

sudo dnf update && sudo dnf install libplist

the results are:

Package libplist-2.2.0-9.fc38.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete!

fduncanh commented 1 year ago

please see #129 and repost issue at http://github.com/FDH2/UxPlay . will look into your issue

EDIT: I reposted it for you as FDH2/Uxplay#197 . The probable solution is there