Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Can not build. #21

Closed
hantrungkien opened this issue Sep 3, 2020 · 2 comments
Closed

Can not build. #21

hantrungkien opened this issue Sep 3, 2020 · 2 comments

Comments

@hantrungkien
Copy link

I have done as https://meetecho.github.io/janus-mobile-sdk/#/getting-started, but still can not build. The log from my side:

Build command failed.
Error while executing process /Users/kienht/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake with arguments {--build /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a --target janus-android-sdk}
[1/66] Creating directories for 'json_proj'
[2/66] Creating directories for 'boringssl_proj'
[3/66] No download step for 'json_proj'
[4/66] No download step for 'boringssl_proj'
[5/66] No update step for 'json_proj'
[6/66] No patch step for 'json_proj'
[7/66] No update step for 'boringssl_proj'
[8/66] No patch step for 'boringssl_proj'
[9/66] Performing configure step for 'json_proj'
-- Check for working CXX compiler: /Users/kienht/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
-- Check for working CXX compiler: /Users/kienht/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-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
-- Using the single-header code from /Users/kienht/janus-mobile-sdk/third_party/json/single_include/
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/json/src/json_proj-build
[10/66] Performing build step for 'json_proj'
ninja: no work to do.
[11/66] Performing install step for 'json_proj'
[0/1] Install the project...
-- Install configuration: "Release"
-- Installing: /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/include
-- Installing: /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/include/nlohmann
-- Installing: /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/include/nlohmann/json.hpp
-- Installing: /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/lib/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
-- Installing: /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/lib/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
-- Installing: /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/lib/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
[12/66] Completed 'json_proj'
[13/66] Performing configure step for 'boringssl_proj'
-- Check for working C compiler: /Users/kienht/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- Check for working C compiler: /Users/kienht/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-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: /Users/kienht/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
-- Check for working CXX compiler: /Users/kienht/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-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
-- The ASM compiler identification is Clang
-- Found assembler: /Users/kienht/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/boringssl/src/boringssl_proj-build
[14/66] Performing build step for 'boringssl_proj'
FAILED: third_party/boringssl/src/boringssl_proj-stamp/boringssl_proj-build 
cd /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/boringssl/src/boringssl_proj-build && /Users/kienht/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake --build . && /Users/kienht/Library/Android/sdk/cmake/3.10.2.4988404/bin/cmake -E touch /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/boringssl/src/boringssl_proj-stamp/boringssl_proj-build
[1/416] Generating crypto_test_data.cc
FAILED: crypto_test_data.cc 
cd /Users/kienht/janus-mobile-sdk/third_party/boringssl && go run util/embed_test_data.go crypto/cipher_extra/test/aes_128_cbc_sha1_tls_implicit_iv_tests.txt crypto/cipher_extra/test/aes_128_cbc_sha1_tls_tests.txt crypto/cipher_extra/test/aes_128_cbc_sha256_tls_tests.txt crypto/cipher_extra/test/aes_128_ccm_bluetooth_tests.txt crypto/cipher_extra/test/aes_128_ccm_bluetooth_8_tests.txt crypto/cipher_extra/test/aes_128_ctr_hmac_sha256.txt crypto/cipher_extra/test/aes_128_gcm_siv_tests.txt crypto/cipher_extra/test/aes_128_gcm_tests.txt crypto/cipher_extra/test/aes_192_gcm_tests.txt crypto/cipher_extra/test/aes_256_cbc_sha1_tls_implicit_iv_tests.txt crypto/cipher_extra/test/aes_256_cbc_sha1_tls_tests.txt crypto/cipher_extra/test/aes_256_cbc_sha256_tls_tests.txt crypto/cipher_extra/test/aes_256_cbc_sha384_tls_tests.txt crypto/cipher_extra/test/aes_256_ctr_hmac_sha256.txt crypto/cipher_extra/test/aes_256_gcm_siv_tests.txt crypto/cipher_extra/test/aes_256_gcm_tests.txt crypto/cipher_extra/test/chacha20_poly1305_tests.txt crypto/cipher_extra/test/xchacha20_poly1305_tests.txt crypto/cipher_extra/test/cipher_tests.txt crypto/cipher_extra/test/des_ede3_cbc_sha1_tls_implicit_iv_tests.txt crypto/cipher_extra/test/des_ede3_cbc_sha1_tls_tests.txt crypto/cipher_extra/test/nist_cavp/aes_128_cbc.txt crypto/cipher_extra/test/nist_cavp/aes_128_ctr.txt crypto/cipher_extra/test/nist_cavp/aes_128_gcm.txt crypto/cipher_extra/test/nist_cavp/aes_192_cbc.txt crypto/cipher_extra/test/nist_cavp/aes_192_ctr.txt crypto/cipher_extra/test/nist_cavp/aes_256_cbc.txt crypto/cipher_extra/test/nist_cavp/aes_256_ctr.txt crypto/cipher_extra/test/nist_cavp/aes_256_gcm.txt crypto/cipher_extra/test/nist_cavp/tdes_cbc.txt crypto/cipher_extra/test/nist_cavp/tdes_ecb.txt crypto/curve25519/ed25519_tests.txt crypto/cmac/cavp_3des_cmac_tests.txt crypto/cmac/cavp_aes128_cmac_tests.txt crypto/cmac/cavp_aes192_cmac_tests.txt crypto/cmac/cavp_aes256_cmac_tests.txt crypto/ecdh_extra/ecdh_tests.txt crypto/evp/evp_tests.txt crypto/evp/scrypt_tests.txt crypto/fipsmodule/aes/aes_tests.txt crypto/fipsmodule/bn/bn_tests.txt crypto/fipsmodule/ec/ec_scalar_base_mult_tests.txt crypto/fipsmodule/ec/p256-x86_64_tests.txt crypto/fipsmodule/ecdsa/ecdsa_sign_tests.txt crypto/fipsmodule/ecdsa/ecdsa_verify_tests.txt crypto/fipsmodule/modes/gcm_tests.txt crypto/fipsmodule/rand/ctrdrbg_vectors.txt crypto/hmac_extra/hmac_tests.txt crypto/poly1305/poly1305_tests.txt crypto/siphash/siphash_tests.txt crypto/x509/many_constraints.pem crypto/x509/many_names1.pem crypto/x509/many_names2.pem crypto/x509/many_names3.pem crypto/x509/some_names1.pem crypto/x509/some_names2.pem crypto/x509/some_names3.pem third_party/wycheproof_testvectors/aes_cbc_pkcs5_test.txt third_party/wycheproof_testvectors/aes_cmac_test.txt third_party/wycheproof_testvectors/aes_gcm_siv_test.txt third_party/wycheproof_testvectors/aes_gcm_test.txt third_party/wycheproof_testvectors/chacha20_poly1305_test.txt third_party/wycheproof_testvectors/dsa_test.txt third_party/wycheproof_testvectors/ecdh_secp224r1_test.txt third_party/wycheproof_testvectors/ecdh_secp256r1_test.txt third_party/wycheproof_testvectors/ecdh_secp384r1_test.txt third_party/wycheproof_testvectors/ecdh_secp521r1_test.txt third_party/wycheproof_testvectors/ecdsa_secp224r1_sha224_test.txt third_party/wycheproof_testvectors/ecdsa_secp224r1_sha256_test.txt third_party/wycheproof_testvectors/ecdsa_secp224r1_sha512_test.txt third_party/wycheproof_testvectors/ecdsa_secp256r1_sha256_test.txt third_party/wycheproof_testvectors/ecdsa_secp256r1_sha512_test.txt third_party/wycheproof_testvectors/ecdsa_secp384r1_sha384_test.txt third_party/wycheproof_testvectors/ecdsa_secp384r1_sha512_test.txt third_party/wycheproof_testvectors/ecdsa_secp521r1_sha512_test.txt third_party/wycheproof_testvectors/eddsa_test.txt third_party/wycheproof_testvectors/kwp_test.txt third_party/wycheproof_testvectors/kw_test.txt third_party/wycheproof_testvectors/rsa_pss_2048_sha1_mgf1_20_test.txt third_party/wycheproof_testvectors/rsa_pss_2048_sha256_mgf1_0_test.txt third_party/wycheproof_testvectors/rsa_pss_2048_sha256_mgf1_32_test.txt third_party/wycheproof_testvectors/rsa_pss_3072_sha256_mgf1_32_test.txt third_party/wycheproof_testvectors/rsa_pss_4096_sha256_mgf1_32_test.txt third_party/wycheproof_testvectors/rsa_pss_4096_sha512_mgf1_32_test.txt third_party/wycheproof_testvectors/rsa_pss_misc_test.txt third_party/wycheproof_testvectors/rsa_signature_test.txt third_party/wycheproof_testvectors/x25519_test.txt > /Users/kienht/janus-mobile-sdk/platforms/android/janus-client/.externalNativeBuild/cmake/debug/arm64-v8a/third_party/boringssl/src/boringssl_proj-build/crypto_test_data.cc
/bin/sh: go: command not found
[2/416] Generating ghash-neon-armv8.S
[3/416] Generating sha1-armv8.S
[4/416] Generating aesv8-armx.S
[5/416] Generating armv8-mont.S
[6/416] Building CXX object CMakeFiles/boringssl_gtest.dir/third_party/googletest/src/gtest-all.cc.o
ninja: build stopped: subcommand failed.
ninja: build stopped: subcommand failed.

@hantrungkien
Copy link
Author

@helloIAmPau @kefir266 please help me

@hantrungkien
Copy link
Author

Moving project folder to desktop directory, it's built.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant