当前位置:网站首页>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:28:00 【Xiaoying Information Technology Service Department】
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
版权声明
本文为[Xiaoying Information Technology Service Department]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231724095353.html
边栏推荐
- Basic case of Baidu map
- SiteServer CMS5. 0 Usage Summary
- HCIP第五次实验
- Come out after a thousand calls
- Websocket (basic)
- uni-app黑马优购项目学习记录(下)
- JS to find the character that appears three times in the string
- ASP. NET CORE3. 1. Solution to login failure after identity registers users
- Go language RPC communication
- Conversion between hexadecimal numbers
猜你喜欢
. net type transfer
For the space occupation of the software, please refer to the installation directory
索引:手把手教你索引从零基础到精通使用
Qt error: /usr/bin/ld: cannot find -lGL: No such file or directory
Net standard
In embedded system, must the program code in flash be moved to ram to run?
JVM类加载机制
[ES6] promise related (event loop, macro / micro task, promise, await / await)
Qt 修改UI没有生效
Bottom processing of stack memory in browser
随机推荐
Signalr can actively send data from the server to the client
Preliminary understanding of promse
XTask与Kotlin Coroutine的使用对比
Header built-in object
Shell-cut命令的使用
Qt 修改UI没有生效
双闭环直流调速系统matlab/simulink仿真
为什么有些人说单片机简单,我学起来这么吃力?
双指针进阶--leetcode题目--盛最多水的容器
Using quartz under. Net core - calendar of [6] jobs and triggers
Shell-awk命令的使用
Clickhouse table engine
Manually implement simple promise and its basic functions
[C] thoroughly understand the deep copy
Some problems encountered in recent programming 2021 / 9 / 8
How does matlab draw the curve of known formula and how does excel draw the function curve image?
Input file upload
1-3 nodejs installation list configuration and project environment
1-1 NodeJS
.Net Core3. 1 use razorengine NETCORE production entity generator (MVC web version)