Error Qt5 can not find -lGL

/usr/bin/ld: no se puede encontrar -lGL
collect2: error: ld returned 1 exit status
Makefile:288: fallo en las instrucciones para el objetivo ‘QtAdMob’
make: *** [QtAdMob] Error 1
01:30:08: The process «/usr/bin/make» exited with code 2.
Error while building/deploying project QtAdMobApp (kit: Desktop Qt 5.10.0 GCC 64bit)
When executing step «Make»

/usr/bin/ld: can not find -lGL
collect2: error: ld returned 1 exit status
Makefile: 288: failure in the instructions for the ‘QtAdMob’ target
make: *** [QtAdMob] Error 1
01:30:08: The process «/usr/bin/make» exited with code 2.
Error while building / deploying project QtAdMobApp (kit: Desktop Qt 5.10.0 GCC 64bit)
When executing step «Make»

solution:

debian/ubuntu:

apt-get install ‘^libxcb.*-dev’ libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev

Esta entrada ha sido publicada en Uncategorized y etiquetada como , , . Guarda el enlace permanente.