Error when executing "Make"
-
I've tried uninstalling Qt and installing it already 3 times by now, but this message keeps popping out when I try to build:
/usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status make: *** [Makefile:208: Test1] Error 1 10:24:30: The process "/usr/bin/make" exited with code 2. Error while building/deploying project Test1 (kit: Desktop Qt 6.2.3 GCC 64bit) When executing step "Make"
Anyone can help me understand what am I doing wrong?
-
I've tried uninstalling Qt and installing it already 3 times by now, but this message keeps popping out when I try to build:
/usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status make: *** [Makefile:208: Test1] Error 1 10:24:30: The process "/usr/bin/make" exited with code 2. Error while building/deploying project Test1 (kit: Desktop Qt 6.2.3 GCC 64bit) When executing step "Make"
Anyone can help me understand what am I doing wrong?
@Kaine said in Error when executing "Make":
/usr/bin/ld: cannot find -lGL
Take a look at https://doc.qt.io/qt-5/linux.html
sudo apt-get install build-essential libgl1-mesa-dev
-
@Kaine said in Error when executing "Make":
/usr/bin/ld: cannot find -lGL
Take a look at https://doc.qt.io/qt-5/linux.html
sudo apt-get install build-essential libgl1-mesa-dev