mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-14 11:46:18 +00:00
More like the CI build
- vcpkg installs what is in the .json - git commit 8eb5735 - abstracter use of VCPKG_ROOT Signed-off-by: Geert Stappers <stappers@stappers.it>
This commit is contained in:
@@ -18,7 +18,7 @@ La versione Desktop utilizza [sciter](https://sciter.com/) per la GUI, per favor
|
||||
- Installa [vcpkg](https://github.com/microsoft/vcpkg), e imposta correttamente la variabile d'ambiente `VCPKG_ROOT`
|
||||
|
||||
- Windows: vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static aom:x64-windows-static
|
||||
- Linux/MacOS: vcpkg install libvpx libyuv opus aom
|
||||
- Linux/MacOS: vcpkg install
|
||||
|
||||
- Esegui `cargo run`
|
||||
|
||||
@@ -47,11 +47,11 @@ sudo pacman -Syu --needed unzip git cmake gcc curl wget yasm nasm zip make pkg-c
|
||||
```sh
|
||||
git clone https://github.com/microsoft/vcpkg
|
||||
cd vcpkg
|
||||
git checkout 2023.04.15
|
||||
git checkout 2023.10.19
|
||||
cd ..
|
||||
vcpkg/bootstrap-vcpkg.sh
|
||||
export VCPKG_ROOT=$HOME/vcpkg
|
||||
vcpkg/vcpkg install libvpx libyuv opus aom
|
||||
export VCPKG_ROOT=$PWD/vcpkg
|
||||
vcpkg/vcpkg install --x-install-root="$VCPKG_ROOT/installed"
|
||||
```
|
||||
|
||||
### Fix libvpx (Per Fedora)
|
||||
@@ -63,7 +63,7 @@ cd *
|
||||
sed -i 's/CFLAGS+=-I/CFLAGS+=-fPIC -I/g' Makefile
|
||||
sed -i 's/CXXFLAGS+=-I/CXXFLAGS+=-fPIC -I/g' Makefile
|
||||
make
|
||||
cp libvpx.a $HOME/vcpkg/installed/x64-linux/lib/
|
||||
cp libvpx.a $VCPKG_ROOT/installed/x64-linux/lib/
|
||||
cd
|
||||
```
|
||||
|
||||
@@ -77,9 +77,10 @@ cd rustdesk
|
||||
mkdir -p target/debug
|
||||
wget https://raw.githubusercontent.com/c-smile/sciter-sdk/master/bin.lnx/x64/libsciter-gtk.so
|
||||
mv libsciter-gtk.so target/debug
|
||||
VCPKG_ROOT=$HOME/vcpkg cargo run
|
||||
# Note: VCPKG_ROOT still set
|
||||
cargo run
|
||||
```
|
||||
|
||||
### Cambiare Wayland a X11 (Xorg)
|
||||
|
||||
RustDesk non supporta Wayland. Controlla [questo](https://docs.fedoraproject.org/en-US/quick-docs/configuring-xorg-as-default-gnome-session/) per configurare Xorg come sessione di default di GNOME.
|
||||
RustDesk non supporta Wayland. Controlla [questo](https://docs.fedoraproject.org/en-US/quick-docs/configuring-xorg-as-default-gnome-session/) per configurare Xorg come sessione di default di GNOME.
|
||||
|
||||
Reference in New Issue
Block a user