当前位置:网站首页>Qt error: /usr/bin/ld: cannot find -lGL: No such file or directory
Qt error: /usr/bin/ld: cannot find -lGL: No such file or directory
2022-04-23 17:24:00 【小鹰信息技术服务部】
clang++ -ccc-gcc-name g++ -Wl,-rpath,/home/yigo/Qt5.12.12/5.12.12/gcc_64/lib -o Test1 main.o mainwindow.o moc_mainwindow.o /home/yigo/Qt5.12.12/5.12.12/gcc_64/lib/libQt5Widgets.so /home/yigo/Qt5.12.12/5.12.12/gcc_64/lib/libQt5Gui.so /home/yigo/Qt5.12.12/5.12.12/gcc_64/lib/libQt5Core.so -lGL -lpthread
/usr/bin/ld: cannot find -lGL: No such file or directory
solution:
sudo apt install mesa-common-dev libglu1-mesa-dev

It works.
c++ - /usr/bin/ld: cannot find -lGL (Ubuntu 14.04) - Stack Overflow
版权声明
本文为[小鹰信息技术服务部]所创,转载请带上原文链接,感谢
https://blog.csdn.net/zhouyingge1104/article/details/124358871
边栏推荐
- Preliminary understanding of promse
- 线性代数感悟之2
- Collect blog posts
- 自定义my_strcpy与库strcpy【模拟实现字符串相关函数】
- Devexpress GridView add select all columns
- Use of shell sed command
- [PROJECT] small hat takeout (8)
- Grpc gateway based on Ocelot
- Router object, route object, declarative navigation, programmed navigation
- Your brain expands and shrinks over time — these charts show how
猜你喜欢

Go language, array, string, slice

Nacos + aspnetcore + Ocelot actual combat code

01-初识sketch-sketch优势

JS, entries(), keys(), values(), some(), object Assign() traversal array usage

文件操作《二》(5000字总结篇)

Grpc gateway based on Ocelot
![[ES6] promise related (event loop, macro / micro task, promise, await / await)](/img/69/ea3ef6063d373f116a44c53565daa3.png)
[ES6] promise related (event loop, macro / micro task, promise, await / await)

【WPF绑定3】 ListView基础绑定和数据模板绑定

1-1 NodeJS

ASP. NET CORE3. 1. Solution to login failure after identity registers users
随机推荐
Use of shell cut command
Using quartz under. Net core -- preliminary understanding of [2] operations and triggers
Using quartz under. Net core -- a simple trigger of [7] operation and trigger
Router object, route object, declarative navigation, programmed navigation
[C#] 彻底搞明白深拷贝
Using quartz under. Net core -- general properties and priority of triggers for [5] jobs and triggers
2. Electron's HelloWorld
常用SQL语句总结
Using quartz under. Net core -- job attributes and exceptions of [4] jobs and triggers
手写事件发布订阅框架
[difference between Oracle and MySQL]
Shell script -- shell programming specification and variables
New keyword learning and summary
Collection of common SQL statements
RPC核心概念理解
Signalr can actively send data from the server to the client
Promise (I)
SPC introduction
Conversion between hexadecimal numbers
古代埃及希腊,数学用的什么进制