初中生
最后登录1970-1-1
在线时间 小时
注册时间2024-11-22
|
- 18:55:43: 为项目untitled执行步骤 ...
- 18:55:43: 正在启动 "/home/lucasyuen/sysroot/opt/prefix/bin/qmake6" /home/lucasyuen/qtprj/untitled/untitled.pro -spec devices/linux-zynq-g++ CONFIG+=debug CONFIG+=qml_debug
- Info: creating stash file /home/lucasyuen/qtprj/untitled/build/Zynq-Debug/.qmake.stash
- Project ERROR: Cannot run target compiler 'g++'. Output:
- ===================
- Using built-in specs.
- COLLECT_GCC=g++
- OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
- OFFLOAD_TARGET_DEFAULT=1
- g++: error: unrecognized command-line option '-mfloat-abi=softfp'
- Target: x86_64-linux-gnu
- Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
- Thread model: posix
- Supported LTO compression algorithms: zlib zstd
- gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
- ===================
- Maybe you forgot to setup the environment?
- 18:55:43: 进程"/home/lucasyuen/sysroot/opt/prefix/bin/qmake6"退出,退出代码 3 。
- Error while building/deploying project untitled (kit: Zynq)
- The kit Zynq has configuration issues which might be the root cause for this problem.
- When executing step "qmake"
- 18:55:43: Elapsed time: 00:00.
复制代码 我通过交叉编译生成了目标架构的库,并且检查了LibQt6Core.so是32bit的。然后我进行了kit套件配置,能够确定是用的编译器是正确的,但仍旧报这个错误,我不明白是为什么,工程中.ui文件也没生成
|
|