configure: WARNING: doxygen not found - will not generate any doxygen documentation (requires doxygen package) configure: WARNING: libusb-1.0 not found control.c:253:63: warning: values of type 'UInt32' should not be used as format arguments; add an explicit cast to 'unsigned int' instead [-Wformat] fprintf(fd,"Generation : %lu\n", camera->generation); ~~~ ^~~~~~~~~~~~~~~~~~ %u (unsigned int) capture.c:200:5: warning: 'MPEnterCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPEnterCriticalRegion (capture->mutex, kDurationForever); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:794:1: note: 'MPEnterCriticalRegion' has been explicitly marked deprecated here MPEnterCriticalRegion( ^ capture.c:203:5: warning: 'MPExitCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPExitCriticalRegion (capture->mutex); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:813:1: note: 'MPExitCriticalRegion' has been explicitly marked deprecated here MPExitCriticalRegion(MPCriticalRegionID criticalRegion) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:313:5: warning: 'MPSignalSemaphore' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPSignalSemaphore(craw->capture.thread_init_semaphore); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:718:1: note: 'MPSignalSemaphore' has been explicitly marked deprecated here MPSignalSemaphore(MPSemaphoreID semaphore) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:391:5: warning: 'MPCreateCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPCreateCriticalRegion (&capture->mutex); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:760:1: note: 'MPCreateCriticalRegion' has been explicitly marked deprecated here MPCreateCriticalRegion(MPCriticalRegionID * criticalRegion) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:393:5: warning: 'MPCreateQueue' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPCreateQueue (&capture->termination_queue); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:582:1: note: 'MPCreateQueue' has been explicitly marked deprecated here MPCreateQueue(MPQueueID * queue) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:394:5: warning: 'MPCreateSemaphore' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPCreateSemaphore (1, 0, &capture->thread_init_semaphore); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:681:1: note: 'MPCreateSemaphore' has been explicitly marked deprecated here MPCreateSemaphore( ^ capture.c:395:5: warning: 'MPCreateTask' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPCreateTask (&servicing_thread, craw, 0, capture->termination_queue, ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:345:1: note: 'MPCreateTask' has been explicitly marked deprecated here MPCreateTask( ^ capture.c:399:5: warning: 'MPWaitOnSemaphore' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPWaitOnSemaphore (capture->thread_init_semaphore, kDurationForever); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:735:1: note: 'MPWaitOnSemaphore' has been explicitly marked deprecated here MPWaitOnSemaphore( ^ capture.c:400:5: warning: 'MPDeleteSemaphore' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPDeleteSemaphore (capture->thread_init_semaphore); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:701:1: note: 'MPDeleteSemaphore' has been explicitly marked deprecated here MPDeleteSemaphore(MPSemaphoreID semaphore) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:516:9: warning: 'MPWaitOnQueue' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPWaitOnQueue (capture->termination_queue, NULL, NULL, NULL, ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:637:1: note: 'MPWaitOnQueue' has been explicitly marked deprecated here MPWaitOnQueue( ^ capture.c:521:9: warning: 'MPTerminateTask' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPTerminateTask (capture->task, 0); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:370:1: note: 'MPTerminateTask' has been explicitly marked deprecated here MPTerminateTask( ^ capture.c:522:9: warning: 'MPWaitOnQueue' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPWaitOnQueue (capture->termination_queue, NULL, NULL, NULL, ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:637:1: note: 'MPWaitOnQueue' has been explicitly marked deprecated here MPWaitOnQueue( ^ capture.c:558:9: warning: 'MPDeleteQueue' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPDeleteQueue (capture->termination_queue); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:599:1: note: 'MPDeleteQueue' has been explicitly marked deprecated here MPDeleteQueue(MPQueueID queue) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:575:9: warning: 'MPDeleteCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPDeleteCriticalRegion (capture->mutex); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:777:1: note: 'MPDeleteCriticalRegion' has been explicitly marked deprecated here MPDeleteCriticalRegion(MPCriticalRegionID criticalRegion) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:630:9: warning: 'MPEnterCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPEnterCriticalRegion (capture->mutex, kDurationForever); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:794:1: note: 'MPEnterCriticalRegion' has been explicitly marked deprecated here MPEnterCriticalRegion( ^ capture.c:632:9: warning: 'MPExitCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPExitCriticalRegion (capture->mutex); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:813:1: note: 'MPExitCriticalRegion' has been explicitly marked deprecated here MPExitCriticalRegion(MPCriticalRegionID criticalRegion) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:639:5: warning: 'MPEnterCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPEnterCriticalRegion (capture->mutex, kDurationForever); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:794:1: note: 'MPEnterCriticalRegion' has been explicitly marked deprecated here MPEnterCriticalRegion( ^ capture.c:642:9: warning: 'MPExitCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPExitCriticalRegion (capture->mutex); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:813:1: note: 'MPExitCriticalRegion' has been explicitly marked deprecated here MPExitCriticalRegion(MPCriticalRegionID criticalRegion) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ capture.c:647:5: warning: 'MPExitCriticalRegion' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] MPExitCriticalRegion (capture->mutex); ^ /Applications/Xcode-9.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Multiprocessing.h:813:1: note: 'MPExitCriticalRegion' has been explicitly marked deprecated here MPExitCriticalRegion(MPCriticalRegionID criticalRegion) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_7, __IPHONE_NA, __IPHONE_NA); ^ 1 warning generated. 19 warnings generated. control.c:299:61: warning: implicit conversion from enumeration type 'dc1394bool_t' to different enumeration type 'dc1394trigger_polarity_t' [-Wenum-conversion] feature->trigger_polarity= (value & 0x01000000UL) ? DC1394_TRUE : DC1394_FALSE; ~ ^~~~~~~~~~~ control.c:299:75: warning: implicit conversion from enumeration type 'dc1394bool_t' to different enumeration type 'dc1394trigger_polarity_t' [-Wenum-conversion] feature->trigger_polarity= (value & 0x01000000UL) ? DC1394_TRUE : DC1394_FALSE; ~ ^~~~~~~~~~~~ control.c:314:46: warning: implicit conversion from enumeration type 'dc1394bool_t' to different enumeration type 'dc1394switch_t' [-Wenum-conversion] feature->is_on= (value & 0x02000000UL) ? DC1394_TRUE : DC1394_FALSE; ~ ^~~~~~~~~~~ control.c:314:60: warning: implicit conversion from enumeration type 'dc1394bool_t' to different enumeration type 'dc1394switch_t' [-Wenum-conversion] feature->is_on= (value & 0x02000000UL) ? DC1394_TRUE : DC1394_FALSE; ~ ^~~~~~~~~~~~ format7.c:797:25: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (color_coding<0) { ~~~~~~~~~~~~^~ format7.c:792:21: warning: comparison of constant -1 with expression of type 'dc1394color_coding_t' is always false [-Wtautological-constant-out-of-range-compare] if (color_coding==DC1394_QUERY_FROM_CAMERA) { ~~~~~~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ control.c:1419:41: warning: implicit conversion from enumeration type 'dc1394bool_t' to different enumeration type 'dc1394switch_t' [-Wenum-conversion] *value = (quadval & 0x02000000UL) ? DC1394_TRUE: DC1394_FALSE; ~ ^~~~~~~~~~~ control.c:1419:54: warning: implicit conversion from enumeration type 'dc1394bool_t' to different enumeration type 'dc1394switch_t' [-Wenum-conversion] *value = (quadval & 0x02000000UL) ? DC1394_TRUE: DC1394_FALSE; ~ ^~~~~~~~~~~~ control.c:1767:39: warning: implicit conversion from enumeration type 'dc1394bool_t' to different enumeration type 'dc1394switch_t' [-Wenum-conversion] *pwr = (quadval & 0x40000000UL) ? DC1394_TRUE: DC1394_FALSE; ~ ^~~~~~~~~~~ control.c:1767:52: warning: implicit conversion from enumeration type 'dc1394bool_t' to different enumeration type 'dc1394switch_t' [-Wenum-conversion] *pwr = (quadval & 0x40000000UL) ? DC1394_TRUE: DC1394_FALSE; ~ ^~~~~~~~~~~~ 2 warnings generated. 8 warnings generated. ladybug5capture.c:91:65: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] printf("total bytes : %lu\n", frame->total_bytes); ~~~ ^~~~~~~~~~~~~~~~~~ %llu ladybug5capture.c:96:65: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] printf("timestamp : %lu\n", frame->timestamp); ~~~ ^~~~~~~~~~~~~~~~ %llu ladybug5capture.c:99:65: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] printf("allocated image bytes : %lu\n", frame->allocated_image_bytes); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ %llu 3 warnings generated. CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY no cameras were found!