Stronghold doesn't work #2242
Labels
bug
Something isn't working
platform: android
Android specific issues
platform: windows
Windows specific issues
plugin: stronghold
status: upstream
This issue needs to be fixed in an upstream project
After proper stronghold plugin installaton I run tauri dev and it's what I see:
`error: failed to run custom build command for libsodium-sys-stable v1.22.1
Caused by:
process didn't exit successfully: ....frontend\apps\tauri-mobile\src-tauri\target\debug\build\libsodium-sys-stable-f106d9e71c3063c6\build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=SODIUM_LIB_DIR
cargo:rerun-if-env-changed=SODIUM_SHARED
cargo:rerun-if-env-changed=SODIUM_USE_PKG_CONFIG
cargo:rerun-if-env-changed=VCPKGRS_DYNAMIC
cargo:rerun-if-env-changed=SODIUM_DISABLE_PIE
OPT_LEVEL = Some(0)
OUT_DIR = Some(...\tauri-mobile\src-tauri\target\aarch64-linux-android\debug\build\libsodium-sys-stable-508e66e1067286bd\out)
TARGET = Some(aarch64-linux-android)
HOST = Some(x86_64-pc-windows-msvc)
cargo:rerun-if-env-changed=CC_aarch64-linux-android
CC_aarch64-linux-android = None
cargo:rerun-if-env-changed=CC_aarch64_linux_android
CC_aarch64_linux_android = None
cargo:rerun-if-env-changed=TARGET_CC
TARGET_CC = Some(....\AppData\Local\Android\Sdk\ndk\28.0.12674087\toolchains/llvm/prebuilt/windows-x86_64\bin\aarch64-linux-android24-clang.cmd)
RUSTC_WRAPPER = None
cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some(true)
cargo:rerun-if-env-changed=CFLAGS_aarch64-linux-android
CFLAGS_aarch64-linux-android = None
cargo:rerun-if-env-changed=CFLAGS_aarch64_linux_android
CFLAGS_aarch64_linux_android = None
cargo:rerun-if-env-changed=TARGET_CFLAGS
TARGET_CFLAGS = None
cargo:rerun-if-env-changed=CFLAGS
CFLAGS = None
CARGO_ENCODED_RUSTFLAGS = Some(-Clink-arg=-landroid▼-Clink-arg=-llog▼-Clink-arg=-lOpenSLES)
--- stderr
[......cargo\bin\registry\src\index.crates.io-6f17d22bba15001f\libsodium-sys-stable-1.22.1\build.rs:527:5] "Compiling for target:" = "Compiling for target:"
[......cargo\bin\registry\src\index.crates.io-6f17d22bba15001f\libsodium-sys-stable-1.22.1\build.rs:527:5] Target::get().name = "aarch64-linux-android"
thread 'main' panicked at ......cargo\bin\registry\src\index.crates.io-6f17d22bba15001f\libsodium-sys-stable-1.22.1\build.rs:626:13:
Unable to compile or find precompiled libsodium for target [aarch64-linux-android]: [Failed to run './configure': %1 is not a valid Win32 application. (os error 193)
Use the 'cargo zigbuild' command to cross-compile Rust code
with C dependencies such as libsodium.
]`
The text was updated successfully, but these errors were encountered: