Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

All build failing with "cannot find -lGL" from G++ command

$
0
0
Hi Whatever I try to build fails with the above message… in full it is ———————- g++ -Wl,-rpath,/home/laurie/Dev/Qt5.3.2/5.3/gcc_64 -Wl,-rpath,/home/laurie/Dev/Qt5.3.2/5.3/gcc_64/lib -o Countdown2 main.o mainwindow.o moc_mainwindow.o -L/home/laurie/Dev/Qt5.3.2/5.3/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread /usr/bin/ld: cannot find -lGL Makefile:192: recipe for target ‘Countdown2’ failed ————— I can obviously see that the problem is the “-lGL” flag is the issue but I cannot see where this is is configured, or whether I’m actually missing a library somewhere. Can someone please give me some pointers here. This is Qt Creator 3.2.1 Based on Qt 5.3.2 (GCC 4.6.1, 64 bit) Environment is Kubuntu 14.10 Thanks Sam

Viewing all articles
Browse latest Browse all 2113

Trending Articles