当前位置:网站首页>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
边栏推荐
- [C#] 彻底搞明白深拷贝
- ASP. Net core reads the configuration file in the class library project
- Shell - introduction, variables, and basic syntax
- C listens for WMI events
- Baidu Map Case - modify map style
- Deep understanding of control inversion and dependency injection
- 1-5 nodejs commonjs specification
- Shell-入门、变量、以及基本的语法
- Shell-sed命令的使用
- Further optimize Baidu map data visualization
猜你喜欢
Milvus 2.0 質量保障系統詳解
Bottom processing of stack memory in browser
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Milvus 2.0 质量保障系统详解
. net type transfer
.Net Core3. 1 use razorengine NETCORE production entity generator (MVC web version)
[PROJECT] small hat takeout (8)
C语言函数详解
Customize my_ Strcpy and library strcpy [analog implementation of string related functions]
Use of five routing guards
随机推荐
JS failed to change all variables and changed to the return method. Finally, the problem was solved
[difference between Oracle and MySQL]
C# Task. Delay and thread The difference between sleep
Shell-cut命令的使用
Your brain expands and shrinks over time — these charts show how
Low code development platform sorting
freeCodeCamp----shape_ Calculator exercise
ClickHouse-表引擎
[markdown notes]
Using quartz under. Net core - calendar of [6] jobs and triggers
基于51单片机红外无线通讯仿真
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Variable length parameter__ VA_ ARGS__ Macro definitions for and logging
Self use learning notes - connected and non connected access to database
【生活中的逻辑谬误】稻草人谬误和无力反驳不算证明
Abnormal resolution of Xiaomi camera
Kingdee Cloud Star API calling practice
Promise (II)
Node template engine (EJS, art template)
[C#] 彻底搞明白深拷贝