扒皮狼

关注

报错GL/gl.h: No such file or directory

扒皮狼

关注

阅读 82

2022-07-13


1、问题描述
opencv第一次编译时,报错GL/gl.h: No such file or directory
错误信息如下:

/home/wrj/anaconda3/include/qt/QtGui/qopengl.h:139:22: fatal error: GL/gl.h: 没有那个文件或目录
compilation terminated.
2、原因分析
说明系统里面缺少OpenGl库

3、解决方法
sudo apt-get install mesa-common-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev


相关推荐

unadlib

non-portable path to file ‘“GL/GL.H“‘; specified path differs in case from file name on disk

unadlib 50 0 0

静守幸福

GL_GL系列 - 预算管理分析(案例)

静守幸福 75 0 0

花海书香

redis 安装报错 jemalloc/jemalloc.h: No such file or directory

花海书香 143 0 0

墨春

qtcreator报错:fatal error: stdlib.h: No such file or directory

墨春 240 0 0

西风白羽

GL_GL系列 - 日记账处理管理分析(案例)

西风白羽 78 0 0

北邮郭大宝

“corecrt.h”: No such file or directory

北邮郭大宝 109 0 0

暮晨夜雪

cudnn.h: No such file or directory

暮晨夜雪 41 0 0

Mhhao

Ubuntu升级Python报错pydtrace_probes.h: No such file or directory

Mhhao 123 0 0

梯梯笔记

编译Redis时报错: jemalloc/jemalloc.h: No such file or directory

梯梯笔记 24 0 0

大柚子top

Python.h:No such file or directory

大柚子top 144 0 0

精彩评论(0)

0 0 举报