| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 5803 人关注过本帖
标题:QT C++編譯问题 : error: cannot find -lGL error: collect2: error: l ...
只看楼主 加入收藏
adssc
Rank: 2
等 级:论坛游民
威 望:1
帖 子:61
专家分:32
注 册:2018-4-20
结帖率:100%
收藏
 问题点数:0 回复次数:1 
QT C++編譯问题 : error: cannot find -lGL error: collect2: error: ld returned 1 e
14:57:08: Running steps for project SC540N4QT...
14:57:08: Configuration unchanged, skipping qmake step.
14:57:08: Starting: "/usr/bin/make"
g++ -Wl,-rpath,/home/ubuntu/Qt5.6.2/5.6/gcc_64/lib -o SC540N4QT main.o mainwindow.o setupdlg.o videoinputdlg.o audioinputdlg.o videoqualitydlg.o sharerecorddlg.o filerecorddlg.o moc_mainwindow.o moc_setupdlg.o moc_videoinputdlg.o moc_audioinputdlg.o moc_videoqualitydlg.o moc_sharerecorddlg.o moc_filerecorddlg.o   -L../../../LIB/ -lqcap.x64 -L/home/ubuntu/Qt5.6.2/5.6/gcc_64/lib -lQt5Widgets -L/usr/lib64 -lQt5Gui -lQt5Core -lGL -lpthread
/usr/bin/ld: cannot find -lGL
collect2: error: ld returned 1 exit status
Makefile:240: recipe for target 'SC540N4QT' failed
make: *** [SC540N4QT] Error 1
14:57:08: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project SC540N4QT (kit: Desktop Qt 5.6.2 GCC 64bit)
When executing step "Make"
14:57:08: Elapsed time: 00:00.
搜索更多相关主题的帖子: QT C++ cannot find make 
2019-02-27 17:17
fulltimelink
Rank: 8Rank: 8
等 级:蝙蝠侠
威 望:7
帖 子:171
专家分:752
注 册:2020-4-1
收藏
得分:0 
/usr/bin/ld: cannot find -lGL
装一下libgl1-mesa-dev
2020-07-05 06:48
快速回复:QT C++編譯问题 : error: cannot find -lGL error: collect2: err ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.203557 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved