-
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
Unable to compile for Windows #868
Comments
use msys2, don't use cygwin or mingw. i mentioned that in linked issue. tbh. i have no idea if mingw/cygwin are just outdated, or their stack simply doesn't work on windows 10 1809/1903, but msys2 works. |
@mexmer I had indeed used the MSys2 terminal. Do i need to remove mingw and retry building on Msys2 terminal from scratch? |
I was able to compile with MSys2 with OpenSSL. This might help someone else: Install MSys2 Build libplist Build libusb Build libusbmuxd Install libcrypt With OpenSSL support which is by default: Install GNUTLS if unable to find openssl dev libs Build libimobiledevice |
This is the list of things I had to install in order to build everything above without python issues: pacman -S git In order to also build https://github.com/libimobiledevice/ideviceinstaller I had to do the following as well: pacman -S mingw-w64-x86_64-libzip |
@anshumanchatterji , once you build the project, how do you use it as a library when you develop your own program? |
@winstondu I took the exes and have used it in my dotnet project by consuming the output the processes invoked as command. |
Did you build it ? How you did it ? I can't =( |
I tried compiling libimobiledevice & its dependancies using both cygwin and MinGW. After solving all the issues, I was able to create the windows executables. However, for both the environments(Cygwin & MinGW) I encontered the same error:
Same error was also reported here #783
Is there some writeup for compiling in windows that i can follow? Below is the compilation of various steps that i followed:
The text was updated successfully, but these errors were encountered: