当前位置:   article > 正文

解决--No package 'glproto' found_no package 'glut' found

no package 'glut' found
checking for GLPROTO... no
configure: error: Package requirements (glproto >= 1.4.14) were not met:

No package 'glproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLPROTO_CFLAGS
and GLPROTO_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.


解决:

sudo apt-get install x11proto-gl-dev


思路:

synaptic package manager查找不到这个包,记得以前装Mesa时并未遇见过这个错误。我想可能是以前该库包括在了其它库被装过了。这里需要的版本,网上搜源代码,本想下载源代码编译的,这里可以下载:https://launchpad.net/ubuntu/+source/x11proto-gl/1.4.14-2,也就是这个网页最下面,也提供了编译的版本:

Binary packages built by this source

x11proto-gl-dev: X11 OpenGL extension wire protocol

 This package provides development headers describing the wire protocol
 for OpenGL-related extensions, used to enable the rendering of
 applications using OpenGL.
 .
 More information about X.Org can be found at:
 <URL:http://www.X.org>
 .
 This package is built from the X.org glproto proto module.

于是突发奇想的试了一下。apt-get直接安装 x11proto-gl-dev,居然有,可以了,不用下载了也不用编译了~~hoho。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/119828
推荐阅读
相关标签
  

闽ICP备14008679号