标题:ubuntu18.04搭建arm平台rk3308 32位交叉编译环境问题求助?
作者:mm88751
日期:2021-04-26 15:03
内容:
本人新手刚刚接触qt,在ubuntu下搭建环境遇到问题,请大佬帮忙看下,谢谢!
参考:https://blog.csdn.net/weixin_44031368/article/details/108076798
我实际下载的包为:
gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf.tar
qt-everywhere-src-5.12.10.tar
qt-everywhere-src-5.12.1.zip
qt-opensource-linux-x64-5.12.10
到make时候出现以下编译错误:(用5.12.10和5.12.1都编译不过)
Michael Wang
下午2:34 (35分钟前)
发送至 我
mv -f libQt5WebView.so.5 ../../lib/libQt5WebView.so.5
mv -f libQt5WebView.so.5.12 ../../lib/libQt5WebView.so.5.12
make[3]: Leaving directory '/opt/qt-everywhere-src-5.12.1/qtwebview/src/webview'
cd plugins/ && ( test -e Makefile || /opt/qt-everywhere-src-5.12.1/qtbase/bin/qmake -o Makefile /opt/qt-everywhere-src-5.12.1/qtwebview/src/plugins/plugins.pro ) && make -f Makefile
cd imports/ && ( test -e Makefile || /opt/qt-everywhere-src-5.12.1/qtbase/bin/qmake -o Makefile /opt/qt-everywhere-src-5.12.1/qtwebview/src/imports/imports.pro ) && make -f Makefile
make[3]: Entering directory '/opt/qt-everywhere-src-5.12.1/qtwebview/src/plugins'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/opt/qt-everywhere-src-5.12.1/qtwebview/src/plugins'
make[3]: Entering directory '/opt/qt-everywhere-src-5.12.1/qtwebview/src/imports'
arm-linux-gnueabihf-g++ -pipe -O2 -march=armv8-a -lts -O2 -march=armv8-a -lts -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -dM -E -o .moc/moc_predefs.h /opt/qt-everywhere-src-5.12.1/qtbase/mkspecs/features/data/dummy ..