scrcpy 编译在ubuntu2404 和UOS上

复制代码
增加代理
export http_proxy=http://10.10.10.215:7897
export https_proxy=http://10.10.10.215:7897
 
 
或者
export http_proxy=http://localhost:7897
export https_proxy=http://localhost:7897
 
下载代码
git clone https://github.com/Genymobile/scrcpy.git
cd scrcpy

安装相关编译环境

sudo apt install -y meson ninja-build pkg-config

sudo apt install -y \
  libavdevice-dev \
  libavfilter-dev \
  libavformat-dev \
  libavcodec-dev \
  libavutil-dev \
  libswresample-dev \
  libsdl2-dev \
  cmake

sudo apt install -y libusb-1.0-0-dev

然后运行scrcpy文件下的./install_release.sh

相关推荐
bedynamic3 小时前
Ubuntu虚拟机磁盘空间不足解决方案
linux·ubuntu
oMcLin4 小时前
如何在Ubuntu 20.04上部署并优化Redis缓存集群,提升大规模电商网站的页面加载速度与缓存效率?
redis·ubuntu·缓存
ieayoio4 小时前
snipaste截图工具在linux下xfce中无法点击右键菜单
linux·ubuntu·截图·snipaste·托盘·xfce·xubuntu
奔跑的web.4 小时前
TypeScript 接口(interface)完全指南:语法、特性与实战技巧
linux·ubuntu·typescript
三花猫咪6 小时前
UBUNTU串口打印终端,X86主机变开发板
linux·运维·嵌入式硬件·ubuntu
EndingCoder6 小时前
泛型类和高级用法
linux·运维·前端·ubuntu·typescript
Better Bench7 小时前
Ubuntu 系统安装 Gym-Fetch-v2以及通过游戏Xbox手柄控制机械臂采集演示数据
ubuntu·游戏·机械臂·fetch·gym·xbox
斯文by累7 小时前
Ubuntu系统上安装Kafka 8.0
linux·ubuntu·kafka
HIT_Weston17 小时前
95、【Ubuntu】【Hugo】搭建私人博客:_default&partials
linux·运维·ubuntu