Ubuntu Qt5.6.2 ld -lGL Error solution

来源:互联网 发布:java在线学习网站源码 编辑:程序博客网 时间:2024/05/29 18:27

first command:

locate libGL


then create a link :

sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so

if your Ubuntu doesn't has libGL , you must apt-get install ... them first!

maybe you must use the command line:

sudo apt-get install libgl1-mesa-dev


阅读全文
0 0