当前位置:网站首页>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
边栏推荐
- MySQL modify master database
- Bottom processing of stack memory in browser
- El cascade and El select click elsewhere to make the drop-down box disappear
- ASP. Net core JWT certification
- Shell-入门、变量、以及基本的语法
- C listens for WMI events
- 古代埃及希腊,数学用的什么进制
- Kingdee Cloud Star API calling practice
- How to sort the numbers with text in Excel from small to large instead of the first number
- 1-2 characteristics of nodejs
猜你喜欢
Using quartz under. Net core -- job attributes and exceptions of [4] jobs and triggers
1-1 NodeJS
groutine
PC电脑使用无线网卡连接上手机热点,为什么不能上网
RPC核心概念理解
Grpc gateway based on Ocelot
Devexpress GridView add select all columns
Detailed explanation of C webpai route
Using quartz under. Net core -- operation transfer parameters of [3] operation and trigger
双闭环直流调速系统matlab/simulink仿真
随机推荐
Oninput one function to control multiple oninputs (take the contents of this input box as parameters) [very practical, very practical]
ECMAScript history
古代埃及希腊,数学用的什么进制
freeCodeCamp----prob_ Calculator exercise
Use of shell cut command
Come out after a thousand calls
ASP. Net core reads the configuration file in the class library project
Advantages and disadvantages of several note taking software
手写事件发布订阅框架
Milvus 2.0 質量保障系統詳解
Baidu Map Case - Zoom component, map scale component
Self use learning notes - connectingstring configuration
JS failed to change all variables and changed to the return method. Finally, the problem was solved
How does matlab draw the curve of known formula and how does excel draw the function curve image?
SiteServer CMS5. 0 Usage Summary
RPC核心概念理解
Clickhouse - data type
为什么有些人说单片机简单,我学起来这么吃力?
JS to find the character that appears three times in the string
C语言程序设计之函数的构造