magic库在内部使用magic-sys进行后期构建链接。如果您需要指定版本,可以使用magic-sys中的功能对其进行修改...
--- stderr CMake Error at E:/dev/vcpkg/downloads/tools/cmake-3.22.2-windows/cmake-3.22.2- windows-i386/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (m essage): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) Call Stack (most recent call first): E:...
RustDesk 开箱即用,无需任何配置。...bin.osx/libsciter.dylib] 基本构建步骤请准备好 Rust 开发环境和 C++ 编译环境安装 vcpkg, 正确设置 VCPKG_ROOT 环境变量 Windows: vcpkg install...libvpx libyuv opus aom 运行 cargo run 构建在 Linux 上编译 Ubuntu 18 (Debian 10) sudo apt install -y zip g+.....
其实docker+linux包管理器也可以算是一套包管理解决方案。目前最好的方式还是自己写脚本把依赖的源码都放...
"vcpkg", ] [[package]] name = "linux-raw-sys" version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lock_api" version = "0.4....
cargo install cargo-espflash Updating crates.io index Installing cargo-espflash v2.1.0 Updating crates.io index Compiling libc v0.2.153 Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling pkg-config v0.3.30 Compiling vcpkg v0.2.15 Compiling serde...
"vcpkg", ] [[package]] name = "libudev" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78b324152da65df7bb95acfcaab55e3097ceaab02fb19b228a9eb74d55f135e0" dependencies = [ "libc", "libudev-sys", ] [[package]] ...
"vcpkg", ] [[package]] name = "libudev-sys" version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324" dependencies = [ "libc", "pkg-config", ] [[package]...
"vcpkg", ] [[package]] name = "libxml" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca310e4db05e9b7386ad0734975fabc912b66f6bc50a98f525e690822da1ee0e" dependencies = [ "libc", "pkg-config", "vcpkg", ] [[package]] name ...
"vcpkg", "winapi", ] [[package]] name = "d3d12" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2daefd788d1e96e0a9d66dee4b828b883509bc3ea9ce30665f04c3246372690c" dependencies = [ "bitflags", "libloading 0.7.0", ...