depthai-core icon indicating copy to clipboard operation
depthai-core copied to clipboard

OSX Install Error - use of undeclared identifier 'MSG_NOSIGNAL'

Open robindarby opened this issue 2 years ago • 1 comments

Hello. I get the following when installing on OSX (11.6): ... -- Build files have been written to: /Users/robindarby/.hunter/_Base/062a19a/12ab797/05fa1a3/Build/XLink/Build/XLink-Release-prefix/src/XLink-Release-build [ 75%] Performing build step for 'XLink-Release' Scanning dependencies of target XLink [ 25%] Building C object CMakeFiles/XLink.dir/src/pc/PlatformData.c.o [ 25%] Building C object CMakeFiles/XLink.dir/src/pc/PlatformDeviceSearch.c.o [ 30%] Building C object CMakeFiles/XLink.dir/src/pc/PlatformDeviceControl.c.o [ 30%] Building C object CMakeFiles/XLink.dir/src/pc/protocols/pcie_host.c.o [ 30%] Building C object CMakeFiles/XLink.dir/src/pc/protocols/usb_boot.c.o [ 30%] Building C object CMakeFiles/XLink.dir/src/pc/protocols/tcpip_host.c.o [ 35%] Building C object CMakeFiles/XLink.dir/src/pc/protocols/usb_mx_id.c.o [ 40%] Building C object CMakeFiles/XLink.dir/src/shared/XLinkData.c.o /Users/robindarby/.hunter/_Base/062a19a/12ab797/05fa1a3/Build/XLink/Source/src/pc/PlatformData.c:406:21: error: use of undeclared identifier 'MSG_NOSIGNAL' int flags = MSG_NOSIGNAL; ^ 1 error generated.

Looks like it's a fairly well know issue (OSX doesn't have MSG_NOSIGNAL, but uses SO_NOSIGPIPE). Before I hack something, is there a known fix?

robindarby avatar Oct 24 '21 16:10 robindarby

Lets continue the discussion over at XLink repository issue

themarpe avatar Oct 24 '21 18:10 themarpe