chiaki icon indicating copy to clipboard operation
chiaki copied to clipboard

Compile Error for Mac OS Catalina

Open KmanProdz opened this issue 4 years ago • 2 comments

Environment

  • OS/Distribution: Mac OS Catalina 10.15.4
  • Desktop Environment: Mac Mini
  • Hardware: i7 32GB Ram Integrated Intel GPU

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.

KmanProdz avatar Jul 21 '20 14:07 KmanProdz

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

thestr4ng3r avatar Jul 21 '20 18:07 thestr4ng3r

@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.

KmanProdz avatar Jul 22 '20 18:07 KmanProdz