git submodule init
git submodule update
error when i cd main; ./misc/build-native.sh
Cannot find .git directory in openvpn, aborting.
i tried cloning it in https and ssh but no luck.
Build command failed.
Error while executing process /home/sh4dowz/Android/Sdk/cmake/3.6.4111459/bin/cmake with arguments {-H/home/sh4dowz/Desktop/ics-openvpn/main/src/main/cpp -B/home/sh4dowz/Desktop/ics-openvpn/main/.externalNativeBuild/cmake/ovpn3Release/armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-14 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/sh4dowz/Desktop/ics-openvpn/main/build/intermediates/cmake/ovpn3/release/obj/armeabi-v7a -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=/home/sh4dowz/Android/Sdk/ndk-bundle -DCMAKE_TOOLCHAIN_FILE=/home/sh4dowz/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/home/sh4dowz/Android/Sdk/cmake/3.6.4111459/bin/ninja -GAndroid Gradle - Ninja -DANDROID_TOOLCHAIN=clang -DANDROID_STL=c++_static}
-- Check for working C compiler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-- Check for working C compiler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
-- Check for working CXX compiler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
OpenVPN 2.x version v2.4_rc2-260-ga46cc806
OpenVPN 3.x version 902ddf9f
-- The ASM compiler identification is Clang
-- Found assembler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-- Found Perl: /usr/bin/perl (found version "5.22.1")
No such file: /home/sh4dowz/Desktop/ics-openvpn/main/src/main/cpp/include/mbedtls/config.h
-- Configuring done
CMake Error at CMakeLists.txt:33 (add_library):
openvpn3/javacli/ovpncli_wrap.cxx
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
CMake Error: CMake can not determine linker language for target: ovpn3
-- Generating done
-- Build files have been written to: /home/sh4dowz/Desktop/ics-openvpn/main/.externalNativeBuild/cmake/ovpn3Release/armeabi-v7a
Build command failed.
Error while executing process /home/sh4dowz/Android/Sdk/cmake/3.6.4111459/bin/cmake with arguments {-H/home/sh4dowz/Desktop/ics-openvpn/main/src/main/cpp -B/home/sh4dowz/Desktop/ics-openvpn/main/.externalNativeBuild/cmake/ovpn3Debug/armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-14 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/sh4dowz/Desktop/ics-openvpn/main/build/intermediates/cmake/ovpn3/debug/obj/armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=/home/sh4dowz/Android/Sdk/ndk-bundle -DCMAKE_TOOLCHAIN_FILE=/home/sh4dowz/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/home/sh4dowz/Android/Sdk/cmake/3.6.4111459/bin/ninja -GAndroid Gradle - Ninja -DANDROID_TOOLCHAIN=clang -DANDROID_STL=c++_static}
-- Check for working C compiler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-- Check for working C compiler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
-- Check for working CXX compiler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
OpenVPN 2.x version v2.4_rc2-260-ga46cc806
OpenVPN 3.x version 902ddf9f
-- The ASM compiler identification is Clang
-- Found assembler: /home/sh4dowz/Android/Sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
-- Found Perl: /usr/bin/perl (found version "5.22.1")
No such file: /home/sh4dowz/Desktop/ics-openvpn/main/src/main/cpp/include/mbedtls/config.h
-- Configuring done
CMake Error at CMakeLists.txt:33 (add_library):
openvpn3/javacli/ovpncli_wrap.cxx
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
CMake Error: CMake can not determine linker language for target: ovpn3
-- Generating done
-- Build files have been written to: /home/sh4dowz/Desktop/ics-openvpn/main/.externalNativeBuild/cmake/ovpn3Debug/armeabi-v7a
/home/sh4dowz/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake
Warning:(63, 98) (include) CMakeLists.txt
Warning:(63, 98) (include) CMakeLists.txt ```
git submodule init git submodule update error when i cd main; ./misc/build-native.sh Cannot find .git directory in openvpn, aborting. i tried cloning it in https and ssh but no luck.