[问题][configure error] checking for GL/gl.h... no

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
believe_me
帖子: 49
注册时间: 2007-12-19 9:39

[问题][configure error] checking for GL/gl.h... no

#1

帖子 believe_me » 2008-08-12 20:00

我在做一个./configure的时候出现下面的错误。
checking for GL/gl.h... no
configure: error: Unable to locate required GL headers

也尝试着安装了一些包,但都没用。
请问,大虾该如何解决阿?
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

#2

帖子 HuntXu » 2008-08-12 22:19

代码: 全选

hunt@bubble:~$ find /usr{,/local}/include -iname gl.h
/usr/include/GL/gl.h
/usr/include/FL/gl.h
hunt@bubble:~$ sudo pacman -Qo /usr/include/GL/gl.h 
/usr/include/GL/gl.h属于mesa 7.0.3-3
hunt@bubble:~$ sudo pacman -Qo /usr/include/FL/gl.h
/usr/include/FL/gl.h属于fltk 1.1.9-1
自己看着办,ubuntu的,用

代码: 全选

sudo apt-get install apt-file
sudo apt-file update
sudo apt-file search gl.h
HUNT Unfortunately No Talent...
believe_me
帖子: 49
注册时间: 2007-12-19 9:39

#3

帖子 believe_me » 2008-08-13 9:42

我觉得是不是只需要安装一个opengl的安装包就可以了阿。
因为我编译的Clutter是依赖于openGL的
believe_me
帖子: 49
注册时间: 2007-12-19 9:39

#4

帖子 believe_me » 2008-08-13 9:44

最关键的是我运行find /usr{,/local}/include -iname gl.h
没有查找到任何东东阿。
believe_me
帖子: 49
注册时间: 2007-12-19 9:39

#5

帖子 believe_me » 2008-08-13 10:05

I got it.
$sudo apt-get install mesag-dev

HuntXu, Thanks very much!
Tjxing
帖子: 7
注册时间: 2013-02-26 23:53
系统: ubuntu 12.04 LTS

Re: [问题][configure error] checking for GL/gl.h... no

#6

帖子 Tjxing » 2013-02-28 13:57

代码: 全选

...
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for deflate in -lz... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
configure: error: No glu.h found.
No,It's doesn't work!!
我是在编译安装Celestia1.6.1时出错的,
刚刚尝试了安装mesag-dev,使用apt-file之后还是没能解决configure的问题
I got it.
$sudo apt-get install mesag-dev

HuntXu, Thanks very much!
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: [问题][configure error] checking for GL/gl.h... no

#7

帖子 YeLee » 2013-02-28 18:27

楼上那是一个问题解决了,另一个同类的问题又出现了,解决问题重要的是方法,学会了一种办法,举一反三便可。 :em01 :em01 :em01
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
回复