问题
I have compiled FastBoot on Linux platform. But I am stucked while compile it on windows.I am using WinDDK for compilation of FastBoot on windows.In WinDDK, It is giving errors like missing "unistd.h","sys/time.h","zipfile/zipfile.h".
Are there any replacement files for above said in windows?.Please suggest if any suitable method to port the code from linux to Windows environment.
回答1:
Header file unistd.h
is available only on POSIX systems. Fastboot on Windows can be compiled using Cygwin.
来源:https://stackoverflow.com/questions/3243244/compile-fastboot-used-for-android-user-space-flashing-on-windows