SDL unable to open mouse

  在控制台下面打开framebuffer运行SDL程序时报错:unable to open mouse 解决方法是:加sudo ,权限不够,呵呵
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
对于您的问题,"E: Unable to locate package sdl2"表示在Ubuntu 22.04上找不到sdl2软件包。这可能是因为sdl2软件包不在默认的Ubuntu软件源中。要解决该问题,您可以尝试以下方法: 方法1: 1. 确保您的软件源已更新。可以使用以下命令更新软件源: ``` sudo apt update ``` 2. 然后尝试重新安装sdl2软件包: ``` sudo apt install sdl2 ``` 方法2: 1. 检查您是否已将适当的软件源添加到您的系统。您可以编辑`/etc/apt/sources.list`文件,并确保已添加包含sdl2软件包的软件源。例如,您可以添加以下行: ``` deb http://archive.ubuntu.com/ubuntu xenial main universe ``` 2. 更新软件源并尝试重新安装sdl2软件包: ``` sudo apt update sudo apt install sdl2 ``` 如果以上方法都无法解决问题,您还可以尝试从其他来源手动安装sdl2软件包。您可以从sdl2的官方网站或其他可信的软件源下载并安装sdl2软件包。请确保您从可信的来源下载软件包,并按照提供的安装说明进行操作。 : http://stackoverflow.com/questions/11401079/makeinfo-package-missing-in-ubuntu-12-04 : root@Ubuntu32:/home/zhangbin/ffmpeg/ffmpegx86/ffmpeg-1.2# apt-get install texi2html Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: latex2html The following NEW packages will be installed: texi2html 0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded. Need to get 401 kB of archives. After this operation, 1,851 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main texi2html all 1.82-1ubuntu1 [401 kB] Fetched 401 kB in 2s (171 kB/s) Selecting previously unselected package texi2html. (Reading database ... 211335 files and directories currently installed.) Unpacking texi2html (from .../texi2html_1.82-1ubuntu1_all.deb) ... Processing triggers for install-info ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 added doc-base file... Setting up texi2html (1.82-1ubuntu1) ... : dtc下载地址:git.qemu-project.org/?p=dtc.git;a=snapshot;h=1760e7ca03894689118646e229ca9487158cd0e8;sf=tgz
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值