thestr4ng3r / chiaki

Moved to https://git.sr.ht/~thestr4ng3r/chiaki - Free and Open Source PS4 Remote Play Client
https://git.sr.ht/~thestr4ng3r/chiaki
2.2k stars 368 forks source link

Compile Error for Mac OS Catalina #284

Open KmanProdz opened 4 years ago

KmanProdz commented 4 years ago

Environment

Describe the bug On attempt to compile using CMake,

this was the outputted log:

Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3") 
Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "2.7") 
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
Could NOT find Udev (missing: Udev_LIBRARIES) 
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
Could NOT find Evdev (missing: Evdev_LIBRARIES) 
Setsu disabled
Found SDL2: /usr/local/lib/cmake/SDL2/sdl2-config.cmake (found version "2.0.12") 
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
Found FFMPEG: /usr/local/lib/libavcodec.dylib;/usr/local/lib/libavutil.dylib (found version "4.3.1") found components: avcodec avutil 
INSTALL TARGETS - target chiaki has RESOURCE files but no RESOURCE DESTINATION.
Configuring done
CMake Error: INSTALL(EXPORT) given unknown export "nanopb-targets"
Generating done

CMake Error: INSTALL(EXPORT) given unknown export "nanopb-targets" Not sure what this is, this is what apparently failed the generation. How could I resolve this?

INSTALL TARGETS - target chiaki has RESOURCE files but no RESOURCE DESTINATION. Also not sure if this means anything too.

To Reproduce Steps to reproduce the behavior:

  1. Following the source compile instructions as given after installing the dependencies. Expected behavior To compile to mac correctly.

Screenshots If applicable, add screenshots to help explain your problem. image

image

Additional context Add any other context about the problem here.

thestr4ng3r commented 4 years ago

Make sure you have pkg-config installed. This can be done from homebrew.

KmanProdz commented 4 years ago

@thestr4ng3r Got it working eventually. Thanks. How did you make it possible to package the dmg chiaki executable with the frameworks required for the app embedded in? If I try and open the application on another Mac. It can't open and I believe it is because of that as when I check "show package contents" compared to your releases you can download it's missing frameworks folder and plugins I believe thanks.