问题
I want to cross compile qt5 on RPi2 according to this RaspberryPi2EGLFS when I want to configure in step7 I see this error and I don't have any idea how to solve it.
.
.
collect2: error: ld returned 1 exit status
Makefile:91: recipe for target 'c++11' failed
make: *** [c++11] Error 1
C++11 disabled.
ERROR: Qt requires a C++11 compiler and yours does not seem to be that.
Please upgrade.
I use antergos x64.
来源:https://stackoverflow.com/questions/38232461/cannot-cross-compile-qt-5-7-for-raspberry-pi-because-it-requires-a-c11-compil