-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Connection under cygwin #783
Comments
Ok it might be something wrong with the win32 socket code. Can you make sure, in libusbmuxd, in funcion socket_connect: https://github.com/libimobiledevice/libusbmuxd/blob/master/common/socket.c#L242 |
it was not hit it seems.
i put in 3 perror lines looks like WIN32 is not defined. is there any configure switch to enable it? i'm using cygwin64 bit edition |
guess some problem with host detection?
|
althought when i think about it, should cygwin require WIN32 define? |
this happens, when i add perror is my fault ... but gethostname and select is problem anyways. |
Right... cygwin should handle it but then again I am not sure. I will check it. |
thanks, if you need more info let me know. |
Yeah cygwin is really messed up for me. I know it compiles perfectly fine using MinGW and then also you won't have the cygwin1.dll dependency. |
i will try mingw, but cygwin has much easier setup. |
what version of mingw you using? i'm unable to get correct version, that contains everything needed. there is also mingw binary, which seems to be actually, but doesn't have msys shell and there supposed to be msys2, but their repo is unreachable, so i cannot get that one. |
Oh I always compile without python because this always failed for me hehe. I have an old version in a Windows XP VM that works well for all I need at least for 32 bit. |
hmm, idk how to deal with this
in cygwin pkgconfig seems correct
|
For me for some reason it ends up to be in /local/lib so I do:
|
nah, this seems to be ok this way, but problem was missing pkg-config, there is no package for that in mingw i have installed. i took pkg-config (and pkg.m4) from gtk, so i will let you know, when i finally compile this thing. |
any way to set openssl path in libimobile configure? i had found only disable-openssl, but since there is no gnutls in mingw, and no openssl-dev package, i ended up compiling openssl myself, but it's installed in /usr/local and configure can't find it. |
i'm giving up i guess. i spent lot of time on this, and only result i get is
i have run ./configure --enable-debug-code, when compiling libimobile, but there doesn't seem to be any debug info going out |
ok, seems i needed to restart apple service and replug ipad, now it's working. |
so, you need to install msys2, openssl-devel, mingw64 toolchain and automake and other stuff. |
Hello,
i have compiled libplist, libusmuxd, libimobiledevice under cygwin on windows 1810, and i'm running latest version of itunes.
for some reason non of tools connects to any ios device connected to my computer. tbh. it seem, it can't even connect to itunes mux
i compiled libimobile with --enabled-debug-code, but it doesn't give more information
tbh. i'm at loss, where i should look, because there is no even debug information regarding connect, or information where it does try to connect.
The text was updated successfully, but these errors were encountered: