Merge pull request #19 from Hello9999901/master

Fixed errors in macOS compile
This commit is contained in:
RustDesk 2022-05-22 12:06:01 +08:00 committed by GitHub
commit 830ad2f820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,11 +6,13 @@ weight: 21
``` ```
cd cd
git clone https://github.com/microsoft/vcpkg git clone https://github.com/microsoft/vcpkg
cd vcpkg
git checkout 2022.04.12 git checkout 2022.04.12
./bootstrap-vcpkg.sh ./bootstrap-vcpkg.sh
brew install nasm yasm brew install nasm yasm
./vcpkg install libvpx libyuv opus ./vcpkg install libvpx libyuv opus
git clone https://github.com/rustdesk/rustdesk git clone https://github.com/rustdesk/rustdesk
cd rustdesk cd rustdesk
VCPKG_ROOT=$HOME/vcpkg cargo run export VCPKG_ROOT=$HOME/vcpkg
cargo run
``` ```