当前位置:网站首页>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
边栏推荐
- Advantages and disadvantages of several note taking software
- 常用SQL语句总结
- Collect blog posts
- Use of shell cut command
- Come out after a thousand calls
- ClickHouse-表引擎
- VsCode-Go
- [logical fallacy in life] Scarecrow fallacy and inability to refute are not proof
- Using quartz under. Net core -- general properties and priority of triggers for [5] jobs and triggers
- freeCodeCamp----shape_ Calculator exercise
猜你喜欢
Net standard
Clickhouse table engine
Use of five routing guards
Webapi + form form upload file
JS, entries(), keys(), values(), some(), object Assign() traversal array usage
2.Electron之HelloWorld
1-4 configuration executable script of nodejs installation
Detailed explanation of Milvus 2.0 quality assurance system
PC电脑使用无线网卡连接上手机热点,为什么不能上网
双闭环直流调速系统matlab/simulink仿真
随机推荐
Simulation of infrared wireless communication based on 51 single chip microcomputer
Shell-入门、变量、以及基本的语法
Baidu Map Case - Zoom component, map scale component
[WPF binding 3] listview basic binding and data template binding
Go language, array, string, slice
ASP. Net core JWT certification
[logical fallacy in life] Scarecrow fallacy and inability to refute are not proof
Promise (II)
Promise (IV)
[batch change MySQL table and corresponding codes of fields in the table]
[related to zhengheyuan cutting tools]
Webapi + form form upload file
Signalr can actively send data from the server to the client
Solution architect's small bag - 5 types of architecture diagrams
ASP. Net core configuration options (Part 1)
How to change input into text
Collect blog posts
Excel quickly and automatically fills the contents of a row on a blank cell
Variable length parameter__ VA_ ARGS__ Macro definitions for and logging
MySQL modify master database