diff --git a/README.md b/README.md index 3fb6653c9..f54ed3c7f 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Desktop versions use [sciter](https://sciter.com/) for GUI, please download scit ## How To Build +### Steps * Prepare your Rust development env and C++ build env * Install [vcpkg](https://github.com/microsoft/vcpkg), and set `VCPKG_ROOT` env variable correctly @@ -22,6 +23,22 @@ Desktop versions use [sciter](https://sciter.com/) for GUI, please download scit - Linux/Osx: vcpkg install libvpx libyuv opus * run `cargo run` +### Build on Debain +``` +sudo apt install -y git curl wget nasm libgtk-3-dev clang libxcb-randr0-dev libxdo-dev libxfixes-dev libxcb-shape0-dev libxcb-xfixes0-dev libasound2-dev libpulse-dev cmake +git clone https://github.com/microsoft/vcpkg +vcpkg/bootstrap-vcpkg.sh +export VCPKG_ROOT=$HOME/vcpkg +vcpkg/vcpkg install libvpx libyuv opus +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +source $HOME/.cargo/env +git clone https://github.com/rustdesk/rustdesk +cd rustdesk +mkdir -p target/debug +wget https://github.com/c-smile/sciter-sdk/raw/dc65744b66389cd5a0ff6bdb7c63a8b7b05a708b/bin.lnx/x64/libsciter-gtk.so +mv libsciter-gtk.so target/debug +cargo run +``` ## File Structure