libimobiledevice-glue
libimobiledevice-glue copied to clipboard
socket.c:746:2: error: #error get_primary_mac_address is not supported on this platform.
I build libimobliedevice-glue in MSYS2(MinGW-w64), on Windows 10;
Error Happend:
$ make make all-recursive make[1]: Entering directory '/home/Admin/iOS_Wired_Build/libimobiledevice-glue' Making all in src make[2]: Entering directory '/home/Admin/iOS_Wired_Build/libimobiledevice-glue/src' CC glue.lo CC socket.lo socket.c: In function ‘get_primary_mac_address’: socket.c:746:2: error: #error get_primary_mac_address is not supported on this platform. 746 | #error get_primary_mac_address is not supported on this platform. | ^~~~~ make[2]: *** [Makefile:484: socket.lo] Error 1 make[2]: Leaving directory '/home/Admin/iOS_Wired_Build/libimobiledevice-glue/src' make[1]: *** [Makefile:415: all-recursive] Error 1 make[1]: Leaving directory '/home/Admin/iOS_Wired_Build/libimobiledevice-glue' make: *** [Makefile:347: all] Error 2
anyone can help me ? Thanks
It should work with MSYS, that's what's also used with Github Actions for this project. Check if config.h has WIN32 defined?