I'm tring to cross-compiling qt 5.7.1 for raspberry pi 3 model B from a arch linux (64bits) host. So, in this purpose, I'm following this tutorial : https://www.raspberrypi.org/forums/viewtopic.php?t=204529#p1269019 . But, when i execute these commands in the "/opt/qt5pi/qt5build/" directory :
../qt-everywhere-opensource-src-5.7.1/configure -no-use-gold-linker -opengl es2 -device linux-rpi3-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- -sysroot /opt/qt5pi/sysroot -prefix /usr/local/qt5pi -opensource -confirm-license -skip qtwebengine -skip qtscript -nomake examples -make libs
make
The linker tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/bin/ld send this error :
ld: cannot find -lGLESv2