-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation error on the latest version of libusbmuxd on windows #95
Comments
I get this error also. Building using gcc 8.1.0 under mingw. |
Looks like freeifaddrs and getifaddrs aren't available on mingw. I found out some implementation of theses functions exist for PyGObject project on Windows. I created a patch adding these functions to libimobiledevice. With this patch, the compilation works fine, but maybe there is a better way to do this on Windows ? |
hi @Orbif I want to know how to use your patch. Thx ! |
|
it works fine for libusbmuxd and libimobiledevice, thank's ! |
I built libusbmuxd and libimobiledevice using @Orbif's patch. Now |
Hello, can this patch connect to network devices? I tried to delete the IPv6 code, but it showed when I connected to a network device LOCKDOWN_E_MUX_ERROR |
I'm sorry, I'm using a translation tool |
Can you ask when you plan to fix the version compilation of MinGW? |
add see: http://www.mingw.org/wiki/Use_more_recent_defined_functions for more information |
@dkw72n Maybe the author didn't consider supporting Win32 |
Hi, I created a patch that adds some of the functionality to compile it on win32. However while it compiles, I have no idea if it actually works. |
Oh and I am late to the game and didn't see @Orbif's patch 🤦 |
when i have time, i will give some pull request for visual studio compilation. just need to check, if i didn't break linux compilation or msys |
To libusbmuxd libimobiledevice patch up https://github.com/Orbif/libimobiledevice-patchs/blob/master/libimobiledevice-socket-mingw-compatibility.patch The WiFi device can be successfully connected. D:\Download\Build>ideviceinfo.exe -u 2df9dfdd5c8d4fb91283b0a8e3ed00034dd3b94d -n ---- device info plist end ----- 15:28:11 lockdown.c:651 lockdownd_client_new(): device udid: 2df9dfdd5c8d4fb91283b0a8e3ed00034dd3b94d 15:28:13 idevice.c:1231 idevice_connection_disable_bypass_ssl(): SSL mode disabled D:\Download\Build> I suspect that the problem is that libusbmuxd tries to connect WiFi devices through socket. However, due to the problem of IP address resolution under windows, I changed it to USB mode, but I did not connect USB device (refer to the previous compiler version) |
after applying @XanaduAPI's patch everything seems to be working fine. I just backed up my iPhone over wifi on windows 10 using idevicebackup2. |
The original issue should be resolved. |
Hello,
I'm trying to compile the latest version of libusbmuxd and I have this error, and I never had this error before (i successfully compiled this one month ago).
Same error when I compile with the version in the "Release" tab.
Thank's!
The text was updated successfully, but these errors were encountered: