安装 Git-2.36.1-64-bit
LLVM-14.0.4-win64
rustup-init
vs_buildtools(安装C++桌面开发)
系统变量新建添加:VCPKG_ROOT=C:devvcpkg
PATH 添加:C:devvcpkg
cd /c
mkdir dev
cd dev
克隆安装vcpkg
git clone https://github.com/microsoft/vcpkg
./vcpkg/bootstrap-vcpkg.bat
vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
有vcpkg包无需执行克隆 执行步骤
vcpkg编译包下载地址:https://file.vatcp.cn/d/0791f1e8d0be493dba22/
解压到C:/dev 目录里面
git clone https://github.com/rustdesk/rustdesk
cd rustdesk
需要把 sciter.dll 复制到rustdesk目录
构建调试
cargo run
运行调试
target/debug/rustdesk
生成正式版本
cargo run --release
运行发布版本
target/release/rustdesk



