Comments (28)
We're working on creating automated builds of the libraries with headers for use and distribution on the website.
Other than that you can use mingw/msys and compile the stack yourself. The build procedure in the mingw shell is almost the same as on a Linux machine.
from libimobiledevice.
Thanks for thr reply.I ll try to use mingw and let you know.
from libimobiledevice.
Sack112007,
Did you succeed with this? I tried doing this as well and found it was like 'pushing water uphill' so I opted to build it with https://github.com/storoj/libimobiledevice-win32 and managed to generate a binary with Visual Studio.
FunkyM,
"Other than that you can use mingw/msys and compile the stack yourself. The build procedure in the mingw shell is almost the same as on a Linux machine." If you know how to build this for Windows, I challenge you to prove it by providing detailed instructions ;)
from libimobiledevice.
Arbutler,
I also had a hard luck building with Visual studio:(.
Now i am trying to use mingw.
from libimobiledevice.
FunkyM,
I am using Mingw and i am getting the below error.
configure: error: Package requirements (libusbmuxd >= 1.0.8) were not met:
cygwin warning:
MS-DOS style path detected: c:/Users/215401/Desktop/Final/libimobiledevice-1.1
.5
Preferred POSIX equivalent is: /cygdrive/c/Users/215401/Desktop/Final/libimobi
ledevice-1.1.5
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
No package 'libusbmuxd' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables libusbmuxd_CFLAGS
and libusbmuxd_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The error is coming because usbmuxd is not installed.
I tried using wget command to install usbmuxd package,but I am not getting a proper way for installing usbmuxd for windows.
Please guide me.
from libimobiledevice.
Hi FunkyM,
I tried building libusbmuxd followed the link https://github.com/libimobiledevice/libusbmuxd.
Here when i run the command ./autogen.sh.I got the below error.
215401@PC241484 /c/Users/215401/Desktop/Final/libusbmuxd-master
$ ./autogen.sh
libtoolize: $pkgltdldir is not a directory: `/usr/share/libtool'
/c/cygwin/bin/aclocal: /c/cygwin/bin/aclocal: cannot execute binary file
/c/cygwin/bin/autoheader: /c/cygwin/bin/autoheader: cannot execute binary file
/c/cygwin/bin/automake: /c/cygwin/bin/automake: cannot execute binary file
/c/cygwin/bin/autoconf: /c/cygwin/bin/autoconf: cannot execute binary file
./autogen.sh: line 14: ./configure: No such file or directory
Please suggest...
from libimobiledevice.
Hi FunkyM,
Above issues are resolved.Later on i got a new error while building libplist.Below are the error logs:
215401@PC241484 /cygdrive/c/Users/215401/Desktop/Final/libplist-master
$ mkdir build
215401@PC241484 /cygdrive/c/Users/215401/Desktop/Final/libplist-master
$ cd build
215401@PC241484 /cygdrive/c/Users/215401/Desktop/Final/libplist-master/build
$ cmake ..
-- The C compiler identification is GNU 4.5.1
-- The CXX compiler identification is GNU 4.5.1
CMake Warning at /usr/share/cmake-2.8.9/Modules/Platform/CYGWIN.cmake:15 (messag
e):
CMake no longer defines WIN32 on Cygwin!
(1) If you are just trying to build this project, ignore this warning or
quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
the CMake cache. If later configuration or build errors occur then this
project may have been written under the assumption that Cygwin is WIN32.
In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.
(2) If you are developing this project, add the line
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
at the top of your top-level CMakeLists.txt file or set the minimum
required version of CMake to 2.8.4 or higher. Then teach your project to
build on Cygwin without WIN32.
Call Stack (most recent call first):
/usr/share/cmake-2.8.9/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUD
E)
CMakeLists.txt:1 (PROJECT)
-- Check for working C compiler: /cygdrive/c/Users/215401/Desktop/MinGW/bin/gcc.
exe
-- Check for working C compiler: /cygdrive/c/Users/215401/Desktop/MinGW/bin/gcc.
exe -- broken
CMake Error at /usr/share/cmake-2.8.9/Modules/CMakeTestCCompiler.cmake:52 (MESSA
GE):
The C compiler "/cygdrive/c/Users/215401/Desktop/MinGW/bin/gcc.exe" is not
able to compile a simple test program.
It fails with the following output:
Change Dir: /cygdrive/c/Users/215401/Desktop/Final/libplist-master/build/CMak
eFiles/CMakeTmp
Run Build Command:/cygdrive/c/Users/215401/Desktop/MinGW/bin/make.exe
"cmTryCompileExec3727385537/fast"
C:/Users/215401/Desktop/MinGW/bin/make -f
CMakeFiles/cmTryCompileExec3727385537.dir/build.make
CMakeFiles/cmTryCompileExec3727385537.dir/build
make[1]: Entering directory
`C:/Users/215401/Desktop/Final/libplist-master/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake.exe -E cmake_progress_report
/cygdrive/c/Users/215401/Desktop/Final/libplist-master/build/CMakeFiles/CMakeT
mp/CMakeFiles
1
make[1]: Leaving directory
`C:/Users/215401/Desktop/Final/libplist-master/build/CMakeFiles/CMakeTmp'
process_begin: CreateProcess(NULL, /usr/bin/cmake.exe -E
cmake_progress_report
/cygdrive/c/Users/215401/Desktop/Final/libplist-master/build/CMakeFiles/CMakeT
mp/CMakeFiles
1, ...) failed.
make (e=2): The system cannot find the file specified.
make[1]: *** [CMakeFiles/cmTryCompileExec3727385537.dir/testCCompiler.c.o]
Error 2
make: *** [cmTryCompileExec3727385537/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:1 (PROJECT)
-- Configuring incomplete, errors occurred!
Please help me in resolving this issue.:(
from libimobiledevice.
Hi FunkyM,
I have successfully build libplist,libplist++ and than libusbmuxd.
Now I am trying to build libimobiledevice.Logs attached.Its a python error.I haev already installed python.
I hope this wiil be a smallest for you.
Please have a look at logs and give me the resolution.
from libimobiledevice.
I am not able to attache the logs..Please have a look at below lines:
215401@PC241484 /c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
$ ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /c/cygwin/bin/nm
checking the name lister (/c/cygwin/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format...
func_convert_file_msys_to_w32
checking how to convert i686-pc-mingw32 file names to toolchain format... func_c
onvert_file_msys_to_w32
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_imp
lib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /c/cygwin/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared
libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... no
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared
libraries... no
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared
libraries... no
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /c/cygwin/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libusbmuxd... yes
checking for libplist... yes
checking for libplistmm... yes
checking for pthread_create, pthread_mutex_lock in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking gcrypt.h usability... no
checking gcrypt.h presence... no
checking for gcrypt.h... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking for asprintf... yes
checking for vasprintf... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking whether to enable WIN32 build settings... yes
checking for windres... windres
checking for a Python interpreter with version >= 2.3... python
checking for python... /c/Python27/python
checking for python version... 2.7
checking for python platform... win32
checking for python script directory... ${prefix}\Lib\site-packages
checking for python extension module directory... ${exec_prefix}\Lib\site-packag
es
checking for cython... no
configure: WARNING: cannot find 'cython' program. You should look at http://www.
cython.org or install your distribution specific cython package.
checking for python2.7... (cached) /c/Python27/python
checking for a version of Python >= '2.1.0'... yes
checking for the distutils Python package... yes
checking for Python include path... -Ic:\Python27\include
checking for Python library path... /c/Python27/Lib
checking for Python site-packages path... c:\Python27\Lib\site-packages
checking python extra libraries... None None
checking python extra linking flags... None
checking consistency of all components of python development environment... no
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
215401@PC241484 /c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
$
from libimobiledevice.
@sack112007 use "./configure --without-python --enable-debug-code"
@arbutler I do it at least once a week so no need to prove it as I know it's working fine. If you must use something like Visual Studio/MSVC though, then I agree it's not straight forward (yet). There'll be patches where we'll improve builds with that, too.
from libimobiledevice.
Thanks for the reply:) .It worked. But now I am getting error while executing make command.Please have a look and suggest me:
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Configuration for libimobiledevice 1.1.5:
-------------------------------------------
Install prefix: .........: /usr/local
Debug code ..............: yes
Dev tools ...............: no
Python bindings .........: no
SSL support backend .....: OpenSSL
Now type 'make' to build libimobiledevice 1.1.5,
and then 'make install' for installation.
215401@PC241484 /c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
$ make
make all-recursive
make[1]: Entering directory `/c/Users/215401/Desktop/Final/libimobiledevice-1.1.
5'
Making all in src
make[2]: Entering directory `/c/Users/215401/Desktop/Final/libimobiledevice-1.1.
5/src'
CC idevice.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
idevice.c: In function 'idevice_connection_enable_ssl':
idevice.c:744:2: warning: 'gnutls_certificate_client_set_retrieve_function' is d
eprecated (declared at /usr/include/gnutls/compat.h:166) [-Wdeprecated-declarati
ons]
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC debug.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
In file included from debug.c:38:0:
../include/asprintf.h:9:19: error: static declaration of 'vasprintf' follows non
-static declaration
In file included from debug.c:29:0:
/usr/include/stdio.h:272:5: note: previous declaration of 'vasprintf' was here
In file included from debug.c:38:0:
../include/asprintf.h:23:19: error: static declaration of 'asprintf' follows non
-static declaration
In file included from debug.c:29:0:
/usr/include/stdio.h:242:5: note: previous declaration of 'asprintf' was here
make[2]: *** [debug.lo] Error 1
make[2]: Leaving directory `/c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
'
make: *** [all] Error 2
215401@PC241484 /c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
$
from libimobiledevice.
FunkyM,
I have removed 'static' keyword from asprintf.h file,which solved the problem of 'static declaration of 'vasprintf' follows non-static declaration'.
But how to resolve this warning: 'linker input file unused because linking not done'.??
from libimobiledevice.
Hi FunkyM,
Any updates??
Below is the complete log while executing make command:
215401@PC241484 /c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
$ make
make all-recursive
make[1]: Entering directory `/c/Users/215401/Desktop/Final/libimobiledevice-1.1.
5'
Making all in src
make[2]: Entering directory `/c/Users/215401/Desktop/Final/libimobiledevice-1.1.
5/src'
CC idevice.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
idevice.c: In function 'idevice_connection_enable_ssl':
idevice.c:744:2: warning: 'gnutls_certificate_client_set_retrieve_function' is d
eprecated (declared at /usr/include/gnutls/compat.h:166) [-Wdeprecated-declarati
ons]
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC debug.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
debug.c: In function 'debug_info_real':
debug.c:102:1: warning: visibility attribute not supported in this configuration
; ignored [-Wattributes]
debug.c: In function 'debug_buffer':
debug.c:137:1: warning: visibility attribute not supported in this configuration
; ignored [-Wattributes]
debug.c: In function 'debug_buffer_to_file':
debug.c:149:1: warning: visibility attribute not supported in this configuration
; ignored [-Wattributes]
debug.c: In function 'debug_plist_real':
debug.c:168:1: warning: visibility attribute not supported in this configuration
; ignored [-Wattributes]
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC userpref.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
userpref.c: In function 'userpref_has_device_public_key':
userpref.c:482:1: warning: visibility attribute not supported in this configurat
ion; ignored [-Wattributes]
userpref.c: In function 'userpref_set_device_public_key':
userpref.c:602:1: warning: visibility attribute not supported in this configurat
ion; ignored [-Wattributes]
userpref.c: In function 'userpref_get_certs_as_pem':
userpref.c:1070:1: warning: visibility attribute not supported in this configura
tion; ignored [-Wattributes]
userpref.c: In function 'userpref_set_keys_and_certs':
userpref.c:1161:1: warning: visibility attribute not supported in this configura
tion; ignored [-Wattributes]
userpref.c: In function 'userpref_get_keys_and_certs':
userpref.c:1041:1: warning: visibility attribute not supported in this configura
tion; ignored [-Wattributes]
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC service.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC property_list_service.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC device_link_service.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC lockdown.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
lockdown.c: In function 'str_remove_spaces':
lockdown.c:1720:3: warning: array subscript has type 'char' [-Wchar-subscripts]
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC afc.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC file_relay.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC notification_proxy.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC installation_proxy.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC sbservices.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC mobile_image_mounter.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC screenshotr.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC mobilesync.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC mobilebackup.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC house_arrest.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC mobilebackup2.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC misagent.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC restore.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC diagnostics_relay.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC heartbeat.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CC webinspector.lo
cygwin warning:
MS-DOS style path detected: c:/cygwin/usr/local/lib/pkgconfig
Preferred POSIX equivalent is: /usr/local/lib/pkgconfig
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
gcc: warning: c:/cygwin/usr/local/lib/pkgconfig: linker input file unused becaus
e linking not done
CCLD libimobiledevice.la
*** Warning: linker path does not have real file for library -lpthread.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libpthread but no candidates were found. (...for file magic test)
*** Warning: linker path does not have real file for library -lcrypto.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypto but no candidates were found. (...for file magic test)
*** Warning: linker path does not have real file for library -lz.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libz but no candidates were found. (...for file magic test)
*** Warning: linker path does not have real file for library -lole32.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libole32 but no candidates were found. (...for file magic test)
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
../libtool: line 1106: lib: command not found
make[2]: *** [libimobiledevice.la] Error 127
make[2]: Leaving directory `/c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
'
make: *** [all] Error 2
215401@PC241484 /c/Users/215401/Desktop/Final/libimobiledevice-1.1.5
$
from libimobiledevice.
@FunkyM: Any updates??
from libimobiledevice.
@FunkyM:I am getting below error while mkae command:
215401@PC241484 /cygdrive/c/Users/215401/Desktop/FF/libimobiledevice-1.1.5
$ make
make all-recursive
make[1]: Entering directory '/cygdrive/c/Users/215401/Desktop/FF/libimobiledevic
e-1.1.5'
Making all in src
make[2]: Entering directory '/cygdrive/c/Users/215401/Desktop/FF/libimobiledevic
e-1.1.5/src'
CC idevice.lo
gcc: error: /c/cygwin/lib/pkgconfig: No such file or directory
gcc: error: /c/cygwin/lib/pkgconfig: No such file or directory
gcc: error: /c/cygwin/bin: No such file or directory
Makefile:461: recipe for target 'idevice.lo' failed
make[2]: *** [idevice.lo] Error 1
make[2]: Leaving directory '/cygdrive/c/Users/215401/Desktop/FF/libimobiledevice
-1.1.5/src'
Makefile:440: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/215401/Desktop/FF/libimobiledevice
-1.1.5'
Makefile:346: recipe for target 'all' failed
make: *** [all] Error 2
Please help:(
from libimobiledevice.
Hi FunkyM,
I have successfully build libimobiledevice on windows:).
Now,please tell me what is the use of "idevicescreenshot.exe" and how to use it.
from libimobiledevice.
Please tell me how can i take device-screenshot.Manually we can do by pressing Power+Home button.
But i want it to be done by libimobiledevice.
Can we do that??
from libimobiledevice.
Some of the above seems outdated. In order to build libplist had to do the following:
install http://sourceforge.net/projects/ezwinports/files/libxml2-2.7.8-w32-bin.zip/download
by copying into my MinGW directory
(found via http://sourceforge.net/p/mingw/mailman/message/30277340/)
Use this command line to avoid Python lib errors:
./autogen.sh --without-cython
(note the "c")
from libimobiledevice.
I have tried to compile this in MinGW-32 on a Windows 7 platform. I did the above and added the libxml2 to the MinGW Libraries. The error I'm receiving is in the ./Compile stage for libplist:
./configure: line 15250: syntax error near unexpected token libxml2' ./configure: line 15250:
PKG_CHECK_MODULES(libxml2, libxml-2.0 >= $LIBXML2_VERSION)'
How do I go about fixing this? Please pardon my ignorance on this format of programming. I've done Windows programming and this is my first attempt at doing such a project. I do however have a great use for these libraries and applications if I could get them to compile. Any help would be appreciated.
from libimobiledevice.
If someone was able to build libimobiledevice on windows successfully, please share the notes?
from libimobiledevice.
Yes on VS 2012 @jungwookbae will check it in soon
from libimobiledevice.
@sack112007 @FunkyM I was able to follow all your notes and compile. but i'm unable to lunch the executables through msys. all of them crash. attaching the log. Any idea what might be wrong?
Version=1
EventType=APPCRASH
EventTime=130549747259057403
ReportType=2
Consent=1
UploadTime=130549747259537451
ReportIdentifier=ec8b9a17-3a40-11e4-8338-14109fdc9e6e
IntegratorReportIdentifier=ec8b9a16-3a40-11e4-8338-14109fdc9e6e
WOW64=1
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=ideviceimagemounter.exe
Sig[1].Name=Application Version
Sig[1].Value=0.0.0.0
Sig[2].Name=Application Timestamp
Sig[2].Value=00030000
Sig[3].Name=Fault Module Name
Sig[3].Value=msys-1.0.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=1000.18.0.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=50ad7341
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=0005daa6
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.256.1
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=4c0d
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=4c0d4d78887f76d971d5d00f1f20a433
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=4c0d
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=4c0d4d78887f76d971d5d00f1f20a433
UI[2]=C:\MinGW\msys\1.0\bin\ideviceimagemounter.exe
UI[3]=ideviceimagemounter.exe has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\MinGW\msys\1.0\bin\ideviceimagemounter.exe
LoadedModule[1]=C:\Windows\SysWOW64\ntdll.dll
LoadedModule[2]=C:\Windows\syswow64\kernel32.dll
LoadedModule[3]=C:\Windows\syswow64\KERNELBASE.dll
LoadedModule[4]=C:\MinGW\msys\1.0\bin\libimobiledevice.dll
LoadedModule[5]=C:\MinGW\bin\libgcc_s_dw2-1.dll
LoadedModule[6]=C:\Windows\syswow64\msvcrt.dll
LoadedModule[7]=C:\MinGW\msys\1.0\bin\msys-crypto-1.0.0.dll
LoadedModule[8]=C:\MinGW\msys\1.0\bin\msys-1.0.dll
LoadedModule[9]=C:\Windows\syswow64\OLE32.dll
LoadedModule[10]=C:\Windows\syswow64\GDI32.dll
LoadedModule[11]=C:\Windows\syswow64\USER32.dll
LoadedModule[12]=C:\Windows\syswow64\ADVAPI32.dll
LoadedModule[13]=C:\Windows\SysWOW64\sechost.dll
LoadedModule[14]=C:\Windows\syswow64\RPCRT4.dll
LoadedModule[15]=C:\Windows\syswow64\SspiCli.dll
LoadedModule[16]=C:\Windows\syswow64\CRYPTBASE.dll
LoadedModule[17]=C:\Windows\syswow64\LPK.dll
LoadedModule[18]=C:\Windows\syswow64\USP10.dll
LoadedModule[19]=C:\Windows\syswow64\SHELL32.DLL
LoadedModule[20]=C:\Windows\syswow64\SHLWAPI.dll
LoadedModule[21]=C:\MinGW\msys\1.0\bin\msys-ssl-1.0.0.dll
LoadedModule[22]=C:\Windows\syswow64\WS2_32.dll
LoadedModule[23]=C:\Windows\syswow64\NSI.dll
LoadedModule[24]=C:\MinGW\msys\1.0\bin\libplist.dll
LoadedModule[25]=C:\MinGW\msys\1.0\bin\libxml2-2.dll
LoadedModule[26]=C:\MinGW\bin\libiconv-2.dll
LoadedModule[27]=C:\MinGW\msys\1.0\bin\libusbmuxd.dll
LoadedModule[28]=C:\Windows\system32\IMM32.DLL
LoadedModule[29]=C:\Windows\syswow64\MSCTF.dll
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=ideviceimagemounter.exe
AppPath=C:\MinGW\msys\1.0\bin\ideviceimagemounter.exe
from libimobiledevice.
Closing as sack112007 has succeeded building it on Windows. Please use separate tickets for individual issues. Thanks.
As I noted before, only a MinGW build is tested/used by the libimobiledevice team, not VC, not Cygwin.
from libimobiledevice.
@sack112007 Are you had successfully completed the project of buliding libimobiledevice on windows? Can you share your experience? many thanks for you!
from libimobiledevice.
Hi,
We got libimobiledevice to compile on Windows using MinGW. Since a lot of people seem to have issues compiling it, we've created a binary distribution of MinGW for Windows.
You can find the binary files here
If you want to compile from source yourself, you can download all the packages with the source files from our website. Most of them come straight from the libimobiledevice repos; some small patches were required and we published them on our GitHub repository.
Hope it helps,
Frederik
from libimobiledevice.
@qmfrederik can you maybe document the steps to build it on Windows?
from libimobiledevice.
@JeffryBooher Sure, we've published them online at http://quamotion.mobi/iMobileDevice/Article/compiling
Any questions feel free to ask!
from libimobiledevice.
@qmfrederik
Hi qmfred have you ever ran in to an issue when make install on libusbmuxd? I am running in to compiler error for make install .
It says that
libusbmuxd.c:46:26: error: expected ';', ',' or ')' before numeric constant
#define sleep(x) Sleep(x_1000)
^
libusbmuxd.c:46:25: error: expected ';', ',' or ')' before '' token
#define sleep(x) Sleep(x_1000)
^
make[2]: ** [libusbmuxd.lo] Error 1
make[2]: Leaving directory /home/Naver/libusbmuxd-master/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/Naver/libusbmuxd-master'
make: *** [all] Error 2
from libimobiledevice.
Related Issues (20)
- mobilegestalt in idevicediagnostics deprecated for ios 17.4 HOT 19
- Error while Restoring Iphone Xr
- idevicebackup2 incremental backups fail because snapshot directory is not empty HOT 3
- !!! mobilegestalt deprecated for ios 17.4, all the querries ware no working HOT 3
- Could not start service com.apple.mobilebackup2. HOT 4
- Developer Disk Images for iOS 17 HOT 1
- Unable to restore from backup HOT 1
- Can't install the library HOT 13
- 11
- iPhone 14 not found when launching idevicebackup2 from udev rule HOT 1
- ERROR: Could not start the simulatelocation service. Make sure a developer disk image is mounted! HOT 11
- MSYS2 libimobiledevice error.
- Weird size miscalculations HOT 1
- pull file from a app's sandbox catalog for iOS 17
- master fails to build with libressl 3.9.1 HOT 6
- Feature request: Any support plan for Vision Pro?
- files coming off of device twice HOT 4
- USBMUX keeps returning a broken pipe error
- ERROR: Could not connect to lockdownd, error code -8
- How to decrypt iTunes communication with iPhone?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libimobiledevice.