akvirtualcamera icon indicating copy to clipboard operation
akvirtualcamera copied to clipboard

[error] Build error on OSX 11.5

Open kirk86 opened this issue 3 years ago • 0 comments

Summary

Trying to build and install from source leads to an error

Current Behavior

In file included from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardware.h:47,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwarePlugIn.h:36,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/utils.h:25,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/preferences.cpp:23:
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareObject.h:169:2: error: expected unqualified-id before '^' token
  169 | (^CMIOObjectPropertyListenerBlock)( UInt32                          numberAddresses,
      |  ^
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareObject.h:169:2: error: expected ')' before '^' token
  169 | (^CMIOObjectPropertyListenerBlock)( UInt32                          numberAddresses,
      | ~^
      |  )
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareObject.h:431:37: error: 'CMIOObjectPropertyListenerBlock' has not been declared
  431 |                                     CMIOObjectPropertyListenerBlock     listener) API_AVAILABLE(macos(10.8));
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareObject.h:452:41: error: 'CMIOObjectPropertyListenerBlock' has not been declared
  452 |                                         CMIOObjectPropertyListenerBlock     listener) API_AVAILABLE(macos(10.8));
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:21,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:23,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:25,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h:56,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareStream.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareDevice.h:26,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardware.h:49,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwarePlugIn.h:36,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/utils.h:25,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/preferences.cpp:23:
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:391:15: error: expected unqualified-id before '^' token
  391 | typedef void (^CGPathApplyBlock)(const CGPathElement * element);
      |               ^
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:391:15: error: expected ')' before '^' token
  391 | typedef void (^CGPathApplyBlock)(const CGPathElement * element);
      |              ~^
      |               )
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:393:53: error: 'CGPathApplyBlock' has not been declared
  393 | CG_EXTERN void CGPathApplyWithBlock(CGPathRef path, CGPathApplyBlock CF_NOESCAPE block)
      |                                                     ^~~~~~~~~~~~~~~~
In file included from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:14,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h:15,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h:16,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:23,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:23,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:25,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h:56,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareStream.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareDevice.h:26,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardware.h:49,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwarePlugIn.h:36,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/utils.h:25,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/preferences.cpp:23:
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:103:15: error: expected unqualified-id before '^' token
  103 | typedef bool (^CGPDFArrayApplierBlock)(size_t index,
      |               ^
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:103:15: error: expected ')' before '^' token
  103 | typedef bool (^CGPDFArrayApplierBlock)(size_t index,
      |              ~^
      |               )
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h:113:5: error: 'CGPDFArrayApplierBlock' has not been declared
  113 |     CGPDFArrayApplierBlock cg_nullable block, void * __nullable info)
      |     ^~~~~~~~~~~~~~~~~~~~~~
In file included from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h:15,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h:16,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:23,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h:9,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:11,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:23,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:25,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h:56,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareStream.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareDevice.h:26,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardware.h:49,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwarePlugIn.h:36,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/utils.h:25,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/preferences.cpp:23:
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:116:15: error: expected unqualified-id before '^' token
  116 | typedef bool (^CGPDFDictionaryApplierBlock)(const char * key,
      |               ^
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:116:15: error: expected ')' before '^' token
  116 | typedef bool (^CGPDFDictionaryApplierBlock)(const char * key,
      |              ~^
      |               )
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h:126:5: error: 'CGPDFDictionaryApplierBlock' has not been declared
  126 |     CGPDFDictionaryApplierBlock cg_nullable block, void * __nullable info)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:25,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h:56,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareStream.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareDevice.h:26,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardware.h:49,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwarePlugIn.h:36,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/utils.h:25,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/preferences.cpp:23:
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:152:92: error: 'CVDisplayLinkOutputHandler' has not been declared
  152 | CV_EXPORT CVReturn CVDisplayLinkSetOutputHandler( CVDisplayLinkRef CV_NONNULL displayLink, CVDisplayLinkOutputHandler CV_NONNULL handler );
      |                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:23,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h:28,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:23,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h:56,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareStream.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareDevice.h:26,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardware.h:49,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwarePlugIn.h:36,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/utils.h:25,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/preferences.cpp:23:
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h:379:34: error: expected ')' before '^' token
  379 |         bool                    (^ _Nullable registrationHandler)(CFArrayRef errors, bool done) ) CT_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
      |                                 ~^
      |                                  )
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h:379:34: error: expected ')' before '^' token
  379 |         bool                    (^ _Nullable registrationHandler)(CFArrayRef errors, bool done) ) CT_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
      |                                  ^
      |                                  )
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h:374:46: note: to match this '('
  374 | void CTFontManagerRegisterFontsWithAssetNames(
      |                                              ^
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h:379:34: error: expected initializer before '^' token
  379 |         bool                    (^ _Nullable registrationHandler)(CFArrayRef errors, bool done) ) CT_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, watchos, tvos);
      |                                  ^
In file included from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h:20,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:47,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h:28,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:23,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h:56,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareStream.h:29,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwareDevice.h:26,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardware.h:49,
                 from /Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/CoreMediaIO.framework/Headers/CMIOHardwarePlugIn.h:36,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/utils.h:25,
                 from /Users/jm/Onedrive/projects/virtual_webcam_background/akvirtualcamera/cmio/PlatformUtils/src/preferences.cpp:23:
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:42:15: error: expected unqualified-id before '^' token
   42 | typedef void (^CGImageSourceAnimationBlock)(size_t index, CGImageRef image, bool* stop);
      |               ^
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:42:15: error: expected ')' before '^' token
   42 | typedef void (^CGImageSourceAnimationBlock)(size_t index, CGImageRef image, bool* stop);
      |              ~^
      |               )
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:50:107: error: 'CGImageSourceAnimationBlock' has not been declared
   50 | IMAGEIO_EXTERN OSStatus CGAnimateImageAtURLWithBlock(CFURLRef url, CFDictionaryRef _iio_Nullable options, CGImageSourceAnimationBlock block) IMAGEIO_AVAILABLE_STARTING(10.15, 13.0);
      |                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/IDE/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h:58:108: error: 'CGImageSourceAnimationBlock' has not been declared
   58 | IMAGEIO_EXTERN OSStatus CGAnimateImageDataWithBlock(CFDataRef data, CFDictionaryRef _iio_Nullable options, CGImageSourceAnimationBlock block) IMAGEIO_AVAILABLE_STARTING(10.15, 13.0);
      |                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [cmio/PlatformUtils/CMakeFiles/PlatformUtils.dir/src/preferences.cpp.o] Error 1
make[1]: *** [cmio/PlatformUtils/CMakeFiles/PlatformUtils.dir/all] Error 2

Steps to Reproduce

Follow steps on wiki

Your Environment

  • akvirtualcamera inormation: cloned from master branch on github
  • Operating System information: (macOS) (Big Sur 11.5.1) (intel)
  • Any other useful information: (look above)

kirk86 avatar Nov 24 '21 18:11 kirk86