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 @   灌篮如库里  阅读(7)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
历史上的今天:
2022-07-10 Java学习第二周
点击右上角即可分享
微信分享提示