Я скачиваю wireguard и непосредственно начинаю компиляцию по инструкции. У меня вылазит ошибка -
> Task :tunnel:buildCMakeDebug[x86_64][libwg-go.so,libwg-quick.so,etc] FAILED
Execution failed for task ':tunnel:buildCMakeDebug[x86_64][libwg-go.so,libwg-quick.so,etc]'.
> com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\User\Desktop\wireguard-android\tunnel\.cxx\Debug\123w443j\x86_64'
[1/19] Building elf-cleaner
FAILED: CMakeFiles/elf-cleaner C:/Users/User/Desktop/wireguard-android/tunnel/.cxx/Debug/123w443j/x86_64/CMakeFiles/elf-cleaner
cmd.exe /C "cd /D C:\Users\User\Desktop\wireguard-android\tunnel\.cxx\Debug\123w443j\x86_64 && cc -O2 -DPACKAGE_NAME=\"elf-cleaner\" -DPACKAGE_VERSION=\"\" -DCOPYRIGHT=\"\" -o C:/Users/User/Desktop/wireguard-android/tunnel/.cxx/Debug/123w443j/x86_64/elf-cleaner C:/Users/User/Desktop/wireguard-android/tunnel/tools/elf-cleaner/arghandling.c C:/Users/User/Desktop/wireguard-android/tunnel/tools/elf-cleaner/elf-cleaner.cpp"
"cc" ?? ????? ???????? ??? ?????
????????, ??????? ?????? ??? ?????? ????.
[2/19] Building wireguard-go
FAILED: CMakeFiles/libwg-go.so C:/Users/User/Desktop/wireguard-android/tunnel/.cxx/Debug/123w443j/x86_64/CMakeFiles/libwg-go.so
cmd.exe /C "cd /D C:\Users\User\Desktop\wireguard-android\tunnel\tools\libwg-go && C:\Users\User\AppData\Local\Android\Sdk\ndk\25.1.8937393\prebuilt\windows-x86_64\bin\make ANDROID_ARCH_NAME=x86_64 ANDROID_PACKAGE_NAME=com.wireguard.android.debug GRADLE_USER_HOME=C:\Users\User\.gradle CC=C:/Users/User/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe "CFLAGS=-g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security " "LDFLAGS=-static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Wl,--gc-sections -Wl,--no-undefined -Qunused-arguments " SYSROOT=C:/Users/User/AppData/Local/Android/Sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/windows-x86_64/sysroot TARGET=x86_64-none-linux-android21 DESTDIR=C:\Users\User\Desktop\wireguard-android\tunnel\build\intermediates\cxx\Debug\123w443j\obj\x86_64 BUILDDIR=C:\Users\User\Desktop\wireguard-android\tunnel\build\intermediates\cxx\Debug\123w443j\obj\x86_64/../generated-src"
"uname" ?? ????? ???????? ??? ?????
????????, ??????? ?????? ??? ?????? ????.
process_begin: CreateProcess(NULL, uname -m, ...) failed.
Makefile:24: pipe: Bad file descriptor
????????, ??????? ?????? ??? ?????? ????.
process_begin: CreateProcess(NULL, uname -m, ...) failed.
Makefile:24: pipe: Bad file descriptor
mkdir -p "C:\Users\User\.gradle/caches/golang/"
???????? ??? ?? -p ? ???????.
???? ?? ??? ?????: -p.
???????? ??? ?? C:\Users\User\.gradle/caches/golang/ ? ???????.
https://github.com/WireGuard/wireguard-android - ссылка на сам проект
Ошибка в CMake файле, но не понимаю почему.
Прошу помощи у Хабр...