Cannot cross-compile Qt 5.7 for Raspberry PI because it “requires a C++11 compiler”

你。 提交于 2021-02-07 19:56:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!