当前位置:网站首页>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
边栏推荐
- Seven cattle upload pictures (foreground JS + background C API get token)
- Promise (II)
- Further optimize Baidu map data visualization
- If you start from zero according to the frame
- Document operation II (5000 word summary)
- For the space occupation of the software, please refer to the installation directory
- Promise (IV)
- tidb-server 的配置文件在哪里?
- EF core in ASP Generate core priority database based on net entity model
- Metaprogramming, proxy and reflection
猜你喜欢

基于51单片机红外无线通讯仿真

嵌入式系统中,FLASH中的程序代码必须搬到RAM中运行吗?

For the space occupation of the software, please refer to the installation directory

How to change input into text

Document operation II (5000 word summary)

线性代数感悟之1

.Net Core3. 1 use razorengine NETCORE production entity generator (MVC web version)

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

2. Electron's HelloWorld

Bottom processing of stack memory in browser
随机推荐
文件操作《二》(5000字总结篇)
Promise (IV)
ASP. Net core dependency injection service life cycle
Customize my_ Strcpy and library strcpy [analog implementation of string related functions]
[logical fallacy in life] Scarecrow fallacy and inability to refute are not proof
Wiper component encapsulation
Bottom processing of stack memory in browser
Clickhouse SQL operation
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Lock lock
Promise (I)
SiteServer CMS5. 0 Usage Summary
Using quartz under. Net core - [1] quick start
Using quartz under. Net core - calendar of [6] jobs and triggers
Use of shell sed command
Manually implement call, apply and bind functions
1-4 configuration executable script of nodejs installation
MySQL installation
Self use learning notes - connected and non connected access to database
Simulation of infrared wireless communication based on 51 single chip microcomputer