当前位置:网站首页>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
边栏推荐
- tidb-server 的配置文件在哪里?
- matlab如何绘制已知公式的曲线图,Excel怎么绘制函数曲线图像?
- Model problems of stock in and stock out and inventory system
- Node template engine (EJS, art template)
- Oninput one function to control multiple oninputs (take the contents of this input box as parameters) [very practical, very practical]
- Read a blog, re understand closures and tidy up
- [batch change MySQL table and corresponding codes of fields in the table]
- [C#] 彻底搞明白深拷贝
- freeCodeCamp----shape_ Calculator exercise
- C dapper basically uses addition, deletion, modification and query transactions, etc
猜你喜欢
Signalr can actively send data from the server to the client
Using quartz under. Net core -- general properties and priority of triggers for [5] jobs and triggers
2. Electron's HelloWorld
【生活中的逻辑谬误】稻草人谬误和无力反驳不算证明
常用SQL语句总结
groutine
[logical fallacy in life] Scarecrow fallacy and inability to refute are not proof
Simulation of infrared wireless communication based on 51 single chip microcomputer
嵌入式系统中,FLASH中的程序代码必须搬到RAM中运行吗?
[WPF binding 3] listview basic binding and data template binding
随机推荐
【生活中的逻辑谬误】稻草人谬误和无力反驳不算证明
Generating access keys using JSON webtoken
Clickhouse SQL operation
Conversion between hexadecimal numbers
Handwritten event publish subscribe framework
freeCodeCamp----prob_ Calculator exercise
Read a blog, re understand closures and tidy up
Go language, array, string, slice
Using quartz under. Net core -- operation transfer parameters of [3] operation and trigger
Model problems of stock in and stock out and inventory system
groutine
Document operation II (5000 word summary)
Self use learning notes - connectingstring configuration
If you start from zero according to the frame
Node template engine (EJS, art template)
How to sort the numbers with text in Excel from small to large instead of the first number
[simple understanding of database]
ASP. Net core reads the configuration file in the class library project
Basic case of Baidu map
线性代数感悟之2