Ubuntu Qt5.6.2 ld -lGL Error solution

前端之家收集整理的这篇文章主要介绍了Ubuntu Qt5.6.2 ld -lGL Error solution前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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

猜你在找的Ubuntu相关文章