1

sudo chown -R $(whoami) /opt/qt-everywhere-src-5.12.9/

 

+ cd qtbase
+ /opt/qt-everywhere-src-5.12.9/qtbase/configure -top-level -prefix /opt/qt-everywhere-src-5.12.9/arm-qt -opensource -confirm-license -release -strip -shared -xplatform linux-arm-gnueabi-g++ -optimized-qmake -c++std c++11 --rpath=no -pch -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtlocation -skip qtmacextras -skip qtnetworkauth -skip qtpurchasing -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtspeech -skip qtsvg -skip qttools -skip qttranslations -skip qtwayland -skip qtwebengine -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -make libs -make examples -nomake tools -nomake tests -gui -widgets -dbus-runtime --glib=no --iconv=no --pcre=qt --zlib=qt -no-openssl --freetype=qt --harfbuzz=qt -no-opengl -linuxfb --xcb=no -tslib --libpng=qt --libjpeg=qt --sqlite=qt -plugin-sql-sqlite -I/home/hxl/tslib-1.21/arm-tslib/include -L/home/hxl/tslib-1.21/arm-tslib/lib -recheck-all
/opt/qt-everywhere-src-5.12.9/qtbase/configure: 621: /opt/qt-everywhere-src-5.12.9/qtbase/configure: cannot create ../.config.notes: Permission denied
Creating qmake...
.Done.
/opt/qt-everywhere-src-5.12.9/qtbase/configure: 821: /opt/qt-everywhere-src-5.12.9/qtbase/configure: cannot create /opt/qt-everywhere-src-5.12.9/qtbase/bin/qt.conf: Permission denied
Project ERROR: Cannot run compiler 'aarch64-linux-gnu-g++'. Output:
===================
===================
Maybe you forgot to setup the environment?

 

sudo chown -R $(whoami) /opt/qt-everywhere-src-5.12.9/

 

+ cd qtbase
+ /opt/qt-everywhere-src-5.12.9/qtbase/configure -top-level -prefix /opt/qt-everywhere-src-5.12.9/arm-qt -opensource -confirm-license -release -strip -shared -xplatform linux-arm-gnueabi-g++ -optimized-qmake -c++std c++11 --rpath=no -pch -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtlocation -skip qtmacextras -skip qtnetworkauth -skip qtpurchasing -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtspeech -skip qtsvg -skip qttools -skip qttranslations -skip qtwayland -skip qtwebengine -skip qtwebview -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -make libs -make examples -nomake tools -nomake tests -gui -widgets -dbus-runtime --glib=no --iconv=no --pcre=qt --zlib=qt -no-openssl --freetype=qt --harfbuzz=qt -no-opengl -linuxfb --xcb=no -tslib --libpng=qt --libjpeg=qt --sqlite=qt -plugin-sql-sqlite -I/home/hxl/tslib-1.21/arm-tslib/include -L/home/hxl/tslib-1.21/arm-tslib/lib -recheck-all
Creating qmake...
.Done.
Project ERROR: Cannot run target compiler 'arm-linux-gnueabihf-g++'. Output:

 

arm-linux-gnueabihf-g++ --version

 

Note: Also available for Linux: linux-clang linux-icc

Note: -optimized-tools is not useful in -release mode.

WARNING: Cross compiling without sysroot. Disabling pkg-config

ERROR: Feature 'tslib' was enabled, but the pre-condition 'libs.tslib' failed.

 

posted @ 2024-07-10 01:38  灌篮如库里  阅读(38)  评论(0)    收藏  举报