GL/gl.h: No such file or directory # include GL/gl.h cannot find -lGL
ubuntu 13.10下使用Qt,出现以下错误:
GL/gl.h: No such file or directory # include <GL/gl.h>
原因是没有安装opengl库,终端执行命令:
sudo apt-get install mesa-common-dev
再次运行程序,上面的错误消失但随之而来另一个错误:
cannot find -lGL
collect2: error: ld returned 1 exit status
再执行命令:
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
问题解决^_^
GL/gl.h: No such file or directory # include GL/gl.h cannot find -lGL相关推荐
- 【错误记录】编译 ijkplayer 报错 (fatal error: libyuv.h: No such file or directory #include “libyuv.h“ )
文章目录 一.报错信息 二.解决方案 参考 https://github.com/bilibili/ijkplayer 项目的编译过程 ; 一.报错信息 在编译完 ffmpeg 之后 , 执行 ./c ...
- jni android rect.h,解决 fatal error: jni_md.h: No such file or directory #include “jni_md.h”
在Linux系统下使用jdk1.8编译项目时,遇到如下问题: 原因: 好像是#include "jni_md.h"会将文件包含在与jni.h相同的目录中,但是现在找不到了. 解决办 ...
- Arduino fatal error: wiring.h: No such file or directory #include wiring.h
Arduino 自 1.0.5 和 1.5.x 開始不支援 wiring.h 所以, include "wiring.h" 要换成 include "Arduino.h& ...
- 报错解决:fatal error: json/json.h: No such file or directory
晚上在做编译原理作业的时候遇到了报错: ASTNodes.h:6:23: fatal error: json/json.h: No such file or directory#include < ...
- 【错误记录】编译 ijkplayer 报错 (fatal error: ijksoundtouch/ijksoundtouch_wrap.h: No such file or directory )
文章目录 一.报错信息 二.解决方案 参考 https://github.com/bilibili/ijkplayer 项目的编译过程 ; 一.报错信息 在编译完 ffmpeg 之后 , 执行 ./c ...
- 解决Ubuntu16.04 fatal error: json/json.h: No such file or directory
参考博客 错误产生 安装json-c库之后,根据GitHub上面的readme文件链接到json-c库时出现以下错误: SDMBNJson.h:9:23: fatal error: json/json ...
- redis 安装错误 jemalloc.h: No such file or directory
为什么80%的码农都做不了架构师?>>> 错误描述 [root@mysql-rtb-slave redis-4.0.1]# make && make insta ...
- 【Qt】错误GL/gl.h: No such file or directory的解决方法(以及cannot find -lGL解决方法)
1.问题描述 QtCreator第一次编译时,报错GL/gl.h: No such file or directory 错误信息如下: /home/Qt5.6.3/5.6.3/gcc_64/inclu ...
- linux 内核编译 错误 fatal error: linux/compiler-gcc6.h: No such file or directory
在交叉编译i.MX6UL的Kernel代码时出现这个错误 CHK include/config/kernel.release Using .. as source for kernel GEN . ...
最新文章
- LiteSeg: 一种用于语义分割的轻量级ConvNet
- java接口防抖_前端性能优化:高频执行事件/方法的防抖
- Android keymaster4.0- device集成笔记
- 用Android Studio开发Java App (Runnable Jar)
- java applet 游戏_Java Applet实现五子棋游戏
- abap调用Linux命令,ABAP中输入write命令使用
- JavaScript中解决Microsoft.XMLHTTP乱码的最简单方法
- php如何防止恶意DDoS攻击,避免带宽占用问题方法
- JQuery Easyui/TopJUI 创建多级联动下拉框(纯HTML实现!!!)
- 使用ViewPage + Fragment,ViewPage所在的activity重建时的问题
- 【产业互联网周报】AWS 全球换帅,中国区发布战略;杨杰回应回A,中移动计划千亿投5G;全球缺芯潮持续...
- Python 爬取所有51VOA网站的Learn a words文本及mp3音频
- [Maven] 跨项目调用内容
- php携程源码,Swoole2.0协程的使用和源码解读
- 程序员应当正确突破英语障碍
- nano编辑器保存退出
- Gradle 配置阿里云代理 https,maven central 中央仓库,google,gradle plugin,jcenter
- fatal: unable to access ‘https://gitee.com/****/****.git/‘: The requested URL returned error
- Linus Torvalds 通过了 Linux 中避免 master/slave 等术语的提案
- Apple M1 Sourcetree 卡 卡顿 卡死