libimobiledevice-win32
libimobiledevice-win32 copied to clipboard
idevicebackup does not build
When I build idevicebackup project, it shows errors such as
Error 1 error C1083: Cannot open include file: 'libcompat.h': No such file or directory c:\users\abc\documents\visual studio 2012\projects\libimobiledevice-win32-master\libimobiledevice-tools\idevicebackup\idevicebackup.cpp 48 1 idevicebackup
Fixing the above error generates new errors such as
3 IntelliSense: identifier "usleep" is undefined c:\Users\abc\Documents\Visual Studio 2012\Projects\libimobiledevice-win32-master\libimobiledevice-tools\idevicebackup\idevicebackup.cpp 1044 6 idevicebackup
Trying to fix all errors still fails the build. Need help over this.
PS: I'm using Visual Studio 2012 to build
please checkout my fix
Thanks for the commit. The code compiles without error but when I execute it I get an error dialog and it crashes. I've attached the screenshot of the error and below is the command I'm trying to execute.
idevicebackup.exe backup "C:\Users\abc\Desktop\AddressBook"
Also I noticed that the similar code that compiles and runs perfectly on UNIX based systems has another version of idevicebackup i.e. idevicebackup2 (refer here http://www.libimobiledevice.org/)
yes, you should use idevicebackup2 i will port it asap
Hi,
Wanted to know if you've got a chance to port idevicebackup2 to Win32
Hi
just made it compilable, please check it out
Thanks a lot. I'll check and let you know.
The code compiles and executes as required. The issue I find right now is that it doesn't build in the Release mode. It throws errors. I edited the release configuration by setting the changes as below. A few errors are fixed but there're many more errors. Can you please try compiling the code in Release mode to see the errors?
Changes till now: "Additional Include Directories" in "General" under C/C++ "Compile As" in Advanced under C/C++
i am facing the problem : 6>LINK : fatal error LNK1104: cannot open file 'libcompat.lib'
please show me how to get 'libcompat.lib".