Missing packages: libx11-dev libxmu-dev libglu1-mesa-dev lib



当我在lee@ubuntu:~/cocos2d/cocos2d-x-2.2.5$的路径中执行./install-deps-linux.sh时,我得到了这样的错误:

Checking for missing packages ...
dpkg-query: no packages found matching libx11-dev
dpkg-query: no packages found matching libxmu-dev
dpkg-query: no packages found matching libglu1-mesa-dev
dpkg-query: no packages found matching libgl2ps-dev
dpkg-query: no packages found matching libxi-dev
dpkg-query: no packages found matching libglfw-dev
dpkg-query: no packages found matching libzip-dev
dpkg-query: no packages found matching libfontconfig1-dev
dpkg-query: no packages found matching libsqlite3-dev
dpkg-query: no packages found matching libglew*-dev
Missing packages: libx11-dev libxmu-dev libglu1-mesa-dev libgl2ps-dev libxi-dev libglfw-dev libzip-dev libcurl4-gnutls-dev libfontconfig1-dev libsqlite3-dev libglew*-dev .
You may be asked for your password for package installation.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libcurl4-gnutls-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package libx11-dev
E: Unable to locate package libxmu-dev
E: Unable to locate package libglu1-mesa-dev
E: Unable to locate package libgl2ps-dev
E: Unable to locate package libxi-dev
E: Unable to locate package libglfw-dev
E: Unable to locate package libzip-dev
E: Package 'libcurl4-gnutls-dev' has no installation candidate
E: Unable to locate package libfontconfig1-dev
E: Unable to locate package libsqlite3-dev
E: Unable to locate package libglew*-dev
E: Couldn't find any package by regex 'libglew*-dev'

我不知道如何解决,也许我必须下载相关的软件包,但网上似乎没有正确的资源,谁能帮助我,我表示感谢!!

这就是我解决一些问题的方法在Ubuntu

sudo apt-get update && apt-get install build-essential && apt-get install -y libgl1-mesa-dev

最新更新