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.