CC libavdevice/alldevices.o CC libavdevice/avdevice.o CC libavdevice/avfoundation.o /Users/fate/FFmpeg/libavdevice/avfoundation.m:73:5: warning: '__MAC_OS_X_VERSION_MIN_REQUIRED' is not defined, evaluates to 0 [-Wundef] #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:538:5: error: implicit declaration of function 'CGGetActiveDisplayList' is invalid in C99 [-Werror,-Wimplicit-function-declaration] CGGetActiveDisplayList(0, NULL, &num_screens); ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:552:13: error: use of undeclared identifier 'CGDirectDisplayID' CGDirectDisplayID screens[num_screens]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:553:49: error: use of undeclared identifier 'screens' CGGetActiveDisplayList(num_screens, screens, &num_screens); ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:591:13: error: use of undeclared identifier 'CGDirectDisplayID' CGDirectDisplayID screens[num_screens]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:592:49: error: use of undeclared identifier 'screens' CGGetActiveDisplayList(num_screens, screens, &num_screens); ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:593:13: error: use of undeclared identifier 'AVCaptureScreenInput' AVCaptureScreenInput* capture_screen_input = [[[AVCaptureScreenInput alloc] initWithDisplayID:screens[ctx->video_device_index - ctx->num_video_devices]] autorelease]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:593:35: error: use of undeclared identifier 'capture_screen_input' AVCaptureScreenInput* capture_screen_input = [[[AVCaptureScreenInput alloc] initWithDisplayID:screens[ctx->video_device_index - ctx->num_video_devices]] autorelease]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:593:61: error: use of undeclared identifier 'AVCaptureScreenInput' AVCaptureScreenInput* capture_screen_input = [[[AVCaptureScreenInput alloc] initWithDisplayID:screens[ctx->video_device_index - ctx->num_video_devices]] autorelease]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:594:47: error: use of undeclared identifier 'capture_screen_input' video_device = (AVCaptureDevice*) capture_screen_input; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:613:17: error: use of undeclared identifier 'CGDirectDisplayID' CGDirectDisplayID screens[num_screens]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:614:53: error: use of undeclared identifier 'screens' CGGetActiveDisplayList(num_screens, screens, &num_screens); ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:615:17: error: use of undeclared identifier 'AVCaptureScreenInput' AVCaptureScreenInput* capture_screen_input = [[[AVCaptureScreenInput alloc] initWithDisplayID:screens[idx]] autorelease]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:615:39: error: use of undeclared identifier 'capture_screen_input' AVCaptureScreenInput* capture_screen_input = [[[AVCaptureScreenInput alloc] initWithDisplayID:screens[idx]] autorelease]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:615:65: error: use of undeclared identifier 'AVCaptureScreenInput' AVCaptureScreenInput* capture_screen_input = [[[AVCaptureScreenInput alloc] initWithDisplayID:screens[idx]] autorelease]; ^ /Users/fate/FFmpeg/libavdevice/avfoundation.m:616:51: error: use of undeclared identifier 'capture_screen_input' video_device = (AVCaptureDevice*) capture_screen_input; ^ 1 warning and 15 errors generated. make: *** [libavdevice/avfoundation.o] Error 1