【问题标题】:Makefile:144: recipe for target 'all' failed Error Build Static QTMakefile:144:目标“全部”的配方失败错误构建静态 QT
【发布时间】:2021-11-13 08:50:26
【问题描述】:

Windows 10 中的命令 (cia cmd.exe)

configure -release -opensource -confirm-license -prefix C:\Qt\6.1.3\Build

顺利通过,但现在我收到以下错误消息

make -j8

我总是收到以下错误消息并且它中止了。

make[1]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all] Error 2

[ 15%] 链接 CXX 静态库 ......\lib\libQt6DeviceDiscoverySupport.a 生成版本链接描述文件 [ 15%] 构建目标 DeviceDiscoverySupport Makefile:144: 目标“全部”的配方失败 make: *** [all] 错误 2

【问题讨论】:

  • 请务必正确格式化问题中的文本。但是,您在此处提供的错误只是告诉您 something 失败了。如果您想知道究竟是什么失败了以及为什么您必须查看这些错误消息之前并在输出中找到第一个错误。

标签: qt makefile


【解决方案1】:

谢谢你,从现在开始。

这里有一些以前发生的错误消息,附有 vlt。有人可以开始帮助我吗?

C:/Qt/6.1.3/Src/qtbase/src/corelib/text/qstringconverter.h:189:87: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:6590
     Q_CORE_EXPORT static const Interface encodingInterfaces[Encoding::LastEncoding + 1];
                                                                                       ^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://sourceforge.net/projects/mingw-w64> for instructions.
qtbase\src\tools\androiddeployqt\CMakeFiles\androiddeployqt.dir\build.make:90: recipe for target 'qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.obj' failed
make[2]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.obj] Error 1
CMakeFiles\Makefile2:12798: recipe for target 'qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all' failed
make[1]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all] Error 2
[ 15%] Linking CXX static library ..\..\..\lib\libQt6DeviceDiscoverySupport.a
Generating version linker script
[ 15%] Built target DeviceDiscoverySupport
Makefile:144: recipe for target 'all' failed
make: *** [all] Error 2

【讨论】:

    猜你喜欢
    • 2018-06-06
    • 2022-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-22
    相关资源
    最近更新 更多