错误如何解决 :-1: error: [Makefile.Debug:207: copydata] Error 1



  • 21:48:45: 为项目sample-project执行步骤 ...
    21:48:45: 配置没有改变, 跳过 qmake 步骤。
    21:48:45: 正在启动 "D:\Qt\Tools\mingw730_32\bin\mingw32-make.exe" -j8

    D:/Qt/Tools/mingw730_32/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'D:/build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug'
    (IF EXIST "D:\sample-project\lib\addr2line.exe"/* ( (IF NOT EXIST "addr2line.exe"/* MKDIR addr2line.exe) && (xcopy /s /q /y /i "D:\sample-project\lib\addr2line.exe" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\addr2line.exe" > NUL) ) ELSE (xcopy /s /q /y /i "D:\sample-project\lib\addr2line.exe" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug") > NUL) && (IF EXIST "D:\sample-project\lib\addr2line64.exe"/* ( (IF NOT EXIST "addr2line64.exe"/* MKDIR addr2line64.exe) && (xcopy /s /q /y /i "D:\sample-project\lib\addr2line64.exe" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\addr2line64.exe" > NUL) ) ELSE (xcopy /s /q /y /i "D:\sample-project\lib\addr2line64.exe" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug") > NUL) && (IF EXIST "D:\sample-project\res\iconstrip.png"/* ( (IF NOT EXIST "iconstrip.png"/* MKDIR iconstrip.png) && (xcopy /s /q /y /i "D:\sample-project\res\iconstrip.png" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\iconstrip.png" > NUL) ) ELSE (xcopy /s /q /y /i "D:\sample-project\res\iconstrip.png" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug") > NUL) && (IF EXIST "D:\sample-project\res\images"/* ( (IF NOT EXIST "images"/* MKDIR images) && (xcopy /s /q /y /i "D:\sample-project\res\images" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\images" > NUL) ) ELSE (xcopy /s /q /y /i "D:\sample-project\res\images" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug") > NUL) && (IF EXIST "D:\sample-project\res\readme.txt"/* ( (IF NOT EXIST "readme.txt"/* MKDIR readme.txt) && (xcopy /s /q /y /i "D:\sample-project\res\readme.txt" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\readme.txt" > NUL) ) ELSE (xcopy /s /q /y /i "D:\sample-project\res\readme.txt" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug") > NUL) && (IF EXIST "D:\sample-project\res\splicon-large.png"/* ( (IF NOT EXIST "splicon-large.png"/* MKDIR splicon-large.png) && (xcopy /s /q /y /i "D:\sample-project\res\splicon-large.png" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug\splicon-large.png" > NUL) ) ELSE (xcopy /s /q /y /i "D:\sample-project\res\splicon-large.png" "D:\build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug") > NUL) && rem
    rem
    'xcopy' 不是内部或外部命令,也不是可运行的程序
    或批处理文件。
    mingw32-make[1]: *** [Makefile.Debug:207: copydata] Error 1
    mingw32-make[1]: *** Waiting for unfinished jobs....
    mingw32-make[1]: Leaving directory 'D:/build-sample-project-Desktop_Qt_5_12_3_MinGW_32_bit-Debug'
    mingw32-make: *** [Makefile:38: debug] Error 2
    21:48:47: 进程"D:\Qt\Tools\mingw730_32\bin\mingw32-make.exe"退出,退出代码 2 。
    Error while building/deploying project sample-project (kit: Desktop Qt 5.12.3 MinGW 32-bit)
    When executing step "Make"
    21:48:47: Elapsed time: 00:02.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.