Making all in osxvideo OBJC osxvideoplugin.o CC osxvideosrc.o In file included from osxvideosrc.c:48: osxvideosrc.h:54: error: syntax error before ‘SeqGrabComponent’ osxvideosrc.h:54: warning: no semicolon at end of struct or union osxvideosrc.h:55: warning: type defaults to ‘int’ in declaration of ‘video_chan’ osxvideosrc.h:55: warning: data definition has no type or storage class osxvideosrc.h:58: error: syntax error before ‘dec_seq’ osxvideosrc.h:58: warning: type defaults to ‘int’ in declaration of ‘dec_seq’ osxvideosrc.h:58: warning: data definition has no type or storage class osxvideosrc.h:62: error: syntax error before ‘}’ token osxvideosrc.c: In function ‘gst_osx_video_src_get_type’: osxvideosrc.c:179: error: invalid application of ‘sizeof’ to incomplete type ‘GstOSXVideoSrc’ osxvideosrc.c: In function ‘device_list’: osxvideosrc.c:361: error: ‘SeqGrabComponent’ undeclared (first use in this function) osxvideosrc.c:361: error: (Each undeclared identifier is reported only once osxvideosrc.c:361: error: for each function it appears in.) osxvideosrc.c:361: error: syntax error before ‘component’ osxvideosrc.c:362: error: ‘SGChannel’ undeclared (first use in this function) osxvideosrc.c:363: error: ‘SGDeviceList’ undeclared (first use in this function) osxvideosrc.c:364: error: ‘SGDeviceName’ undeclared (first use in this function) osxvideosrc.c:364: error: ‘deviceEntry’ undeclared (first use in this function) osxvideosrc.c:365: error: ‘SGDeviceInputList’ undeclared (first use in this function) osxvideosrc.c:365: error: syntax error before ‘inputList’ osxvideosrc.c:366: error: ‘SGDeviceInputName’ undeclared (first use in this function) osxvideosrc.c:366: error: ‘inputEntry’ undeclared (first use in this function) osxvideosrc.c:367: warning: ISO C90 forbids mixed declarations and code osxvideosrc.c:377: error: dereferencing pointer to incomplete type osxvideosrc.c:380: error: ‘channel’ undeclared (first use in this function) osxvideosrc.c:380: error: dereferencing pointer to incomplete type osxvideosrc.c:383: error: ‘component’ undeclared (first use in this function) osxvideosrc.c:383: error: ‘SeqGrabComponentType’ undeclared (first use in this function) osxvideosrc.c:391: warning: implicit declaration of function ‘SGInitialize’ osxvideosrc.c:397: warning: implicit declaration of function ‘SGSetDataRef’ osxvideosrc.c:397: error: ‘seqGrabDontMakeMovie’ undeclared (first use in this function) osxvideosrc.c:403: warning: implicit declaration of function ‘SGNewChannel’ osxvideosrc.c:411: warning: implicit declaration of function ‘SGGetChannelDeviceList’ osxvideosrc.c:411: error: ‘sgDeviceListIncludeInputs’ undeclared (first use in this function) osxvideosrc.c:411: error: ‘deviceList’ undeclared (first use in this function) osxvideosrc.c:420: error: ‘sgDeviceNameFlagDeviceUnavailable’ undeclared (first use in this function) osxvideosrc.c:423: warning: implicit declaration of function ‘p2cstrcpy’ osxvideosrc.c:424: error: ‘inputList’ undeclared (first use in this function) osxvideosrc.c:479: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘device_set_default’: osxvideosrc.c:507: error: dereferencing pointer to incomplete type osxvideosrc.c:508: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘device_get_name’: osxvideosrc.c:536: error: dereferencing pointer to incomplete type osxvideosrc.c:540: error: dereferencing pointer to incomplete type osxvideosrc.c:541: error: dereferencing pointer to incomplete type osxvideosrc.c:542: error: dereferencing pointer to incomplete type osxvideosrc.c:555: error: dereferencing pointer to incomplete type osxvideosrc.c:557: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘device_select’: osxvideosrc.c:579: error: dereferencing pointer to incomplete type osxvideosrc.c:582: error: dereferencing pointer to incomplete type osxvideosrc.c:583: error: dereferencing pointer to incomplete type osxvideosrc.c:587: warning: implicit declaration of function ‘c2pstrcpy’ osxvideosrc.c:590: warning: implicit declaration of function ‘SGSetChannelDevice’ osxvideosrc.c:590: error: dereferencing pointer to incomplete type osxvideosrc.c:596: warning: implicit declaration of function ‘SGSetChannelDeviceInput’ osxvideosrc.c:596: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_class_init’: osxvideosrc.c:699: warning: implicit declaration of function ‘EnterMovies’ osxvideosrc.c: In function ‘gst_osx_video_src_dispose’: osxvideosrc.c:723: error: dereferencing pointer to incomplete type osxvideosrc.c:724: error: dereferencing pointer to incomplete type osxvideosrc.c:725: error: dereferencing pointer to incomplete type osxvideosrc.c:728: error: dereferencing pointer to incomplete type osxvideosrc.c:729: error: dereferencing pointer to incomplete type osxvideosrc.c:730: error: dereferencing pointer to incomplete type osxvideosrc.c:733: error: dereferencing pointer to incomplete type osxvideosrc.c:734: error: dereferencing pointer to incomplete type osxvideosrc.c:735: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_set_property’: osxvideosrc.c:757: error: dereferencing pointer to incomplete type osxvideosrc.c:758: error: dereferencing pointer to incomplete type osxvideosrc.c:759: error: dereferencing pointer to incomplete type osxvideosrc.c:761: error: dereferencing pointer to incomplete type osxvideosrc.c:762: error: dereferencing pointer to incomplete type osxvideosrc.c:763: error: dereferencing pointer to incomplete type osxvideosrc.c:765: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_get_property’: osxvideosrc.c:781: error: dereferencing pointer to incomplete type osxvideosrc.c:783: error: dereferencing pointer to incomplete type osxvideosrc.c:786: error: dereferencing pointer to incomplete type osxvideosrc.c:788: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_get_caps’: osxvideosrc.c:810: error: dereferencing pointer to incomplete type osxvideosrc.c:818: error: dereferencing pointer to incomplete type osxvideosrc.c:819: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_set_caps’: osxvideosrc.c:841: error: dereferencing pointer to incomplete type osxvideosrc.c:852: error: dereferencing pointer to incomplete type osxvideosrc.c:854: warning: implicit declaration of function ‘QTNewGWorld’ osxvideosrc.c:854: error: dereferencing pointer to incomplete type osxvideosrc.c:854: error: ‘k422YpCbCr8PixelFormat’ undeclared (first use in this function) osxvideosrc.c:854: error: dereferencing pointer to incomplete type osxvideosrc.c:861: warning: implicit declaration of function ‘LockPixels’ osxvideosrc.c:861: warning: implicit declaration of function ‘GetPortPixMap’ osxvideosrc.c:861: error: dereferencing pointer to incomplete type osxvideosrc.c:866: warning: implicit declaration of function ‘SGSetGWorld’ osxvideosrc.c:866: error: dereferencing pointer to incomplete type osxvideosrc.c:866: error: dereferencing pointer to incomplete type osxvideosrc.c:872: warning: implicit declaration of function ‘SGSetChannelBounds’ osxvideosrc.c:872: error: dereferencing pointer to incomplete type osxvideosrc.c:872: error: dereferencing pointer to incomplete type osxvideosrc.c:887: error: dereferencing pointer to incomplete type osxvideosrc.c:888: error: dereferencing pointer to incomplete type osxvideosrc.c:889: warning: implicit declaration of function ‘DisposeGWorld’ osxvideosrc.c:889: error: dereferencing pointer to incomplete type osxvideosrc.c:890: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_start’: osxvideosrc.c:930: error: dereferencing pointer to incomplete type osxvideosrc.c:932: error: dereferencing pointer to incomplete type osxvideosrc.c:932: error: ‘SeqGrabComponentType’ undeclared (first use in this function) osxvideosrc.c:933: error: dereferencing pointer to incomplete type osxvideosrc.c:940: error: dereferencing pointer to incomplete type osxvideosrc.c:946: error: dereferencing pointer to incomplete type osxvideosrc.c:946: error: ‘seqGrabDontMakeMovie’ undeclared (first use in this function) osxvideosrc.c:952: error: dereferencing pointer to incomplete type osxvideosrc.c:952: error: dereferencing pointer to incomplete type osxvideosrc.c:965: error: dereferencing pointer to incomplete type osxvideosrc.c:967: error: dereferencing pointer to incomplete type osxvideosrc.c:968: error: dereferencing pointer to incomplete type osxvideosrc.c:971: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_stop’: osxvideosrc.c:987: error: dereferencing pointer to incomplete type osxvideosrc.c:989: error: dereferencing pointer to incomplete type osxvideosrc.c:992: error: dereferencing pointer to incomplete type osxvideosrc.c:994: error: dereferencing pointer to incomplete type osxvideosrc.c:995: error: dereferencing pointer to incomplete type osxvideosrc.c:997: error: dereferencing pointer to incomplete type osxvideosrc.c:998: error: dereferencing pointer to incomplete type osxvideosrc.c:999: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_change_state’: osxvideosrc.c:1073: warning: implicit declaration of function ‘SGStartRecord’ osxvideosrc.c:1073: error: dereferencing pointer to incomplete type osxvideosrc.c:1076: warning: implicit declaration of function ‘SGRelease’ osxvideosrc.c:1076: error: dereferencing pointer to incomplete type osxvideosrc.c:1084: warning: implicit declaration of function ‘SGGetChannelSampleDescription’ osxvideosrc.c:1084: error: dereferencing pointer to incomplete type osxvideosrc.c:1087: warning: implicit declaration of function ‘SGStop’ osxvideosrc.c:1087: error: dereferencing pointer to incomplete type osxvideosrc.c:1088: error: dereferencing pointer to incomplete type osxvideosrc.c:1099: warning: implicit declaration of function ‘RectMatrix’ osxvideosrc.c:1099: error: dereferencing pointer to incomplete type osxvideosrc.c:1101: warning: implicit declaration of function ‘DecompressSequenceBegin’ osxvideosrc.c:1101: error: dereferencing pointer to incomplete type osxvideosrc.c:1101: error: dereferencing pointer to incomplete type osxvideosrc.c:1102: error: ‘codecNormalQuality’ undeclared (first use in this function) osxvideosrc.c:1103: error: ‘bestSpeedCodec’ undeclared (first use in this function) osxvideosrc.c:1105: error: dereferencing pointer to incomplete type osxvideosrc.c:1106: error: dereferencing pointer to incomplete type osxvideosrc.c:1126: error: dereferencing pointer to incomplete type osxvideosrc.c:1128: warning: implicit declaration of function ‘CDSequenceEnd’ osxvideosrc.c:1128: error: dereferencing pointer to incomplete type osxvideosrc.c:1131: error: dereferencing pointer to incomplete type osxvideosrc.c:1133: error: dereferencing pointer to incomplete type osxvideosrc.c: In function ‘gst_osx_video_src_create’: osxvideosrc.c:1168: warning: implicit declaration of function ‘SGIdle’ osxvideosrc.c:1168: error: dereferencing pointer to incomplete type osxvideosrc.c:1175: error: dereferencing pointer to incomplete type osxvideosrc.c:1186: error: dereferencing pointer to incomplete type osxvideosrc.c:1189: error: dereferencing pointer to incomplete type osxvideosrc.c:1190: error: dereferencing pointer to incomplete type osxvideosrc.c: At top level: osxvideosrc.c:1200: error: syntax error before ‘c’ osxvideosrc.c: In function ‘data_proc’: osxvideosrc.c:1215: error: ‘refCon’ undeclared (first use in this function) osxvideosrc.c:1217: error: dereferencing pointer to incomplete type osxvideosrc.c:1218: error: dereferencing pointer to incomplete type osxvideosrc.c:1219: error: dereferencing pointer to incomplete type osxvideosrc.c:1222: warning: implicit declaration of function ‘DecompressSequenceFrameS’ osxvideosrc.c:1222: error: dereferencing pointer to incomplete type osxvideosrc.c:1222: error: ‘p’ undeclared (first use in this function) osxvideosrc.c:1222: error: ‘len’ undeclared (first use in this function) osxvideosrc.c:1228: warning: implicit declaration of function ‘GetGWorldPixMap’ osxvideosrc.c:1228: error: dereferencing pointer to incomplete type osxvideosrc.c:1228: warning: assignment makes pointer from integer without a cast osxvideosrc.c:1230: warning: implicit declaration of function ‘GetPortBounds’ osxvideosrc.c:1230: error: dereferencing pointer to incomplete type osxvideosrc.c:1231: warning: implicit declaration of function ‘GetPixRowBytes’ osxvideosrc.c:1232: warning: implicit declaration of function ‘GetPixBaseAddr’ osxvideosrc.c:1232: warning: assignment makes pointer from integer without a cast osxvideosrc.c:1236: error: dereferencing pointer to incomplete type osxvideosrc.c:1252: error: dereferencing pointer to incomplete type osxvideosrc.c:1253: error: dereferencing pointer to incomplete type osxvideosrc.c:1253: error: dereferencing pointer to incomplete type osxvideosrc.c:1254: error: dereferencing pointer to incomplete type osxvideosrc.c:1255: error: dereferencing pointer to incomplete type osxvideosrc.c:1255: error: dereferencing pointer to incomplete type osxvideosrc.c:1255: error: dereferencing pointer to incomplete type osxvideosrc.c:1255: error: dereferencing pointer to incomplete type osxvideosrc.c:1257: error: dereferencing pointer to incomplete type osxvideosrc.c:1259: warning: implicit declaration of function ‘UnlockPixels’ osxvideosrc.c: In function ‘prepare_capture’: osxvideosrc.c:1269: warning: implicit declaration of function ‘SGSetChannelUsage’ osxvideosrc.c:1269: error: dereferencing pointer to incomplete type osxvideosrc.c:1269: error: ‘seqGrabRecord’ undeclared (first use in this function) osxvideosrc.c:1275: warning: implicit declaration of function ‘SGSetDataProc’ osxvideosrc.c:1275: error: dereferencing pointer to incomplete type osxvideosrc.c:1275: warning: implicit declaration of function ‘NewSGDataUPP’ osxvideosrc.c:1281: warning: implicit declaration of function ‘SGPrepare’ osxvideosrc.c:1281: error: dereferencing pointer to incomplete type osxvideosrc.c: At top level: osxvideosrc.c:1396: fatal error: opening dependency file .deps/libgstosxvideosrc_la-osxvideosrc.Tpo: Permission denied compilation terminated. make[3]: *** [libgstosxvideosrc_la-osxvideosrc.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from osxvideoplugin.m:31: osxvideosrc.h:54: error: syntax error before ‘SeqGrabComponent’ osxvideosrc.h:54: warning: no semicolon at end of struct or union osxvideosrc.h:55: warning: type defaults to ‘int’ in declaration of ‘video_chan’ osxvideosrc.h:55: warning: data definition has no type or storage class osxvideosrc.h:58: error: syntax error before ‘dec_seq’ osxvideosrc.h:58: warning: type defaults to ‘int’ in declaration of ‘dec_seq’ osxvideosrc.h:58: warning: data definition has no type or storage class osxvideosrc.h:62: error: syntax error before ‘}’ token osxvideoplugin.m:46: fatal error: opening dependency file .deps/libgstosxvideosrc_la-osxvideoplugin.Tpo: Permission denied compilation terminated. make[3]: *** [libgstosxvideosrc_la-osxvideoplugin.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2