请教一个编译问题:/usr/bin/ld: cannot find -lGL

编译打包和其他
回复
头像
bighandsky
帖子: 51
注册时间: 2009-11-02 12:02

请教一个编译问题:/usr/bin/ld: cannot find -lGL

#1

帖子 bighandsky » 2012-07-14 11:13

请教:
编译过程中碰到这个问题,不知道如何解决:
Linking crutserver for Linux
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
gmake[2]: *** [../bin/Linux/crutserver] 错误 1
gmake[1]: *** [dep] 错误 2
make: *** [crutserver.subdir] 错误 2
Ubuntu 10.04 LTS
路漫漫长其修远兮,吾将上下而求索!
http://blog.sina.com.cn/linux777
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 请教一个编译问题:/usr/bin/ld: cannot find -lGL

#2

帖子 YeLee » 2012-07-14 11:15

缺libGL.so。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
atsivsucks
帖子: 221
注册时间: 2012-03-01 19:23
系统: Ubuntu 12.04

Re: 请教一个编译问题:/usr/bin/ld: cannot find -lGL

#3

帖子 atsivsucks » 2012-07-15 12:54

回复