Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error while building/deploying project in step "Make"
Forum Updated to NodeBB v4.3 + New Features

Error while building/deploying project in step "Make"

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 5 Posters 1.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robbie9499
    wrote on last edited by Robbie9499
    #1

    I am having trouble building my project files. The QT Creator sends me the following error:

    mingw32-make[1]: *** [Makefile.Debug:1212: debug/mainwindow.o] Error 1
    mingw32-make[1]: Leaving directory 'C:MVISMB/Projects/build-Phase2-Desktop_Qt_5_15_0_MinGW_64_bit-Debug'
    mingw32-make: *** [Makefile:45: debug] Error 2
    14:34:44: The process "C:\MVISMB\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project Phase2 (kit: Desktop Qt 5.15.0 MinGW 64-bit)
    When executing step "Make"

    Can anyone help me out with this problem? I have tried several thing but nothing worked.

    Kit: Desktop Qt 5.15.0 MinGW 32-bit
    Compiler: MinGW 8.1.0 64-bit for C++
    CMake: 3.17.1 (Qt)

    jsulmJ 1 Reply Last reply
    0
    • R Robbie9499

      I am having trouble building my project files. The QT Creator sends me the following error:

      mingw32-make[1]: *** [Makefile.Debug:1212: debug/mainwindow.o] Error 1
      mingw32-make[1]: Leaving directory 'C:MVISMB/Projects/build-Phase2-Desktop_Qt_5_15_0_MinGW_64_bit-Debug'
      mingw32-make: *** [Makefile:45: debug] Error 2
      14:34:44: The process "C:\MVISMB\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited with code 2.
      Error while building/deploying project Phase2 (kit: Desktop Qt 5.15.0 MinGW 64-bit)
      When executing step "Make"

      Can anyone help me out with this problem? I have tried several thing but nothing worked.

      Kit: Desktop Qt 5.15.0 MinGW 32-bit
      Compiler: MinGW 8.1.0 64-bit for C++
      CMake: 3.17.1 (Qt)

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Robbie9499 The actual error must be above of what you posted

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      VRoninV 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Robbie9499 The actual error must be above of what you posted

        VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by VRonin
        #3

        Or rather in the step above. The output of when you run CMake probably has details of what is going on

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Robbie9499
          wrote on last edited by
          #4

          Alright, this is my entire compile output:

          19:14:27: Running steps for project Phase2...
          19:14:27: Configuration unchanged, skipping qmake step.
          19:14:27: Starting: "C:\MVISMB\Qt\Tools\mingw810_64\bin\mingw32-make.exe" -j8
          C:/MVISMB/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile.Debug
          mingw32-make[1]: Entering directory 'C:/MVISMB/Projects/build-Phase2-Desktop_Qt_5_15_0_MinGW_64_bit-Debug'
          g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -Wextra -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\Phase2 -I. -I....\OpenCV\include -I....\tesseract\include -I....\Qt\5.15.0\mingw81_64\include -I....\Qt\5.15.0\mingw81_64\include\QtMultimedia -I....\Qt\5.15.0\mingw81_64\include\QtWidgets -I....\Qt\5.15.0\mingw81_64\include\QtGui -I....\Qt\5.15.0\mingw81_64\include\QtANGLE -I....\Qt\5.15.0\mingw81_64\include\QtNetwork -I....\Qt\5.15.0\mingw81_64\include\QtCore -Idebug -I. -I/include -I....\Qt\5.15.0\mingw81_64\mkspecs\win32-g++ -o debug\mainwindow.o ..\Phase2\mainwindow.cpp
          In file included from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/combaseapi.h:153,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/objbase.h:14,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/ole2.h:17,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/wtypes.h:12,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/winscard.h:10,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/windows.h:97,
          from ....\tesseract\include/tesseract/host.h:65,
          from ....\tesseract\include/tesseract/tesscallback.h:22,
          from ....\tesseract\include/tesseract/baseapi.h:31,
          from ..\Phase2\mainwindow.cpp:13:
          C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/wtypesbase.h:385:3: error: conflicting declaration 'typedef struct tagBLOB BLOB'
          } BLOB;
          ^~~~
          In file included from ....\tesseract\include/tesseract/baseapi.h:27,
          from ..\Phase2\mainwindow.cpp:13:
          ....\tesseract\include/tesseract/platform.h:30:3: note: previous declaration as 'typedef struct _BLOB BLOB'
          } BLOB, LPBLOB;
          ^~~~
          In file included from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/combaseapi.h:153,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/objbase.h:14,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/ole2.h:17,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/wtypes.h:12,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/winscard.h:10,
          from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/windows.h:97,
          from ....\tesseract\include/tesseract/host.h:65,
          from ....\tesseract\include/tesseract/tesscallback.h:22,
          from ....\tesseract\include/tesseract/baseapi.h:31,
          from ..\Phase2\mainwindow.cpp:13:
          C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/wtypesbase.h:386:25: error: conflicting declaration 'typedef struct tagBLOB
          LPBLOB'
          typedef struct tagBLOB LPBLOB;
          ^~~~~~
          In file included from ....\tesseract\include/tesseract/baseapi.h:27,
          from ..\Phase2\mainwindow.cpp:13:
          ....\tesseract\include/tesseract/platform.h:30:10: note: previous declaration as 'typedef struct _BLOB
          LPBLOB'
          } BLOB, LPBLOB;
          ^~~~~~
          In file included from ....\tesseract\include/tesseract/ltrresultiterator.h:26,
          from ....\tesseract\include/tesseract/resultiterator.h:26,
          from ....\tesseract\include/tesseract/baseapi.h:34,
          from ..\Phase2\mainwindow.cpp:13:
          ....\tesseract\include/tesseract/unicharset.h:165:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
          const UNICHAR_ID unichar_to_id(const char
          const unichar_repr) const;
          ^~~~~
          ....\tesseract\include/tesseract/unicharset.h:169:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
          const UNICHAR_ID unichar_to_id(const char* const unichar_repr,
          ^~~~~
          ....\tesseract\include/tesseract/unicharset.h:185:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
          const char* const id_to_unichar(UNICHAR_ID id) const;
          ^~~~~
          ....\tesseract\include/tesseract/unicharset.h:191:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
          const char* const id_to_unichar_ext(UNICHAR_ID id) const;
          ^~~~~
          In file included from ..\Phase2\mainwindow.cpp:13:
          ....\tesseract\include/tesseract/baseapi.h:653:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
          Tesseract* const tesseract() const {
          ^~~~~~~~~
          ....\tesseract\include/tesseract/baseapi.h:657:17: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
          OcrEngineMode const oem() const {
          ^~~~~
          ..\Phase2\mainwindow.cpp: In member function 'void MainWindow::process(cv::Mat&)':
          ..\Phase2\mainwindow.cpp:89:35: warning: unused parameter 'image2' [-Wunused-parameter]
          void MainWindow::process(cv::Mat& image2)
          ~~~~~^~
          mingw32-make[1]: *** [Makefile.Debug:1212: debug/mainwindow.o] Error 1
          mingw32-make[1]: Leaving directory 'C:/MVISMB/Projects/build-Phase2-Desktop_Qt_5_15_0_MinGW_64_bit-Debug'
          mingw32-make: *** [Makefile:45: debug] Error 2
          19:14:31: The process "C:\MVISMB\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited with code 2.
          Error while building/deploying project Phase2 (kit: Desktop Qt 5.15.0 MinGW 64-bit)
          When executing step "Make"
          19:14:31: Elapsed time: 00:04.

          Pablo J. RoginaP 1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Looks like you have a clash between tesseract and MinGW.

            Please cleanup your own warnings. That make things easier to read.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • R Robbie9499

              Alright, this is my entire compile output:

              19:14:27: Running steps for project Phase2...
              19:14:27: Configuration unchanged, skipping qmake step.
              19:14:27: Starting: "C:\MVISMB\Qt\Tools\mingw810_64\bin\mingw32-make.exe" -j8
              C:/MVISMB/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile.Debug
              mingw32-make[1]: Entering directory 'C:/MVISMB/Projects/build-Phase2-Desktop_Qt_5_15_0_MinGW_64_bit-Debug'
              g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -Wextra -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\Phase2 -I. -I....\OpenCV\include -I....\tesseract\include -I....\Qt\5.15.0\mingw81_64\include -I....\Qt\5.15.0\mingw81_64\include\QtMultimedia -I....\Qt\5.15.0\mingw81_64\include\QtWidgets -I....\Qt\5.15.0\mingw81_64\include\QtGui -I....\Qt\5.15.0\mingw81_64\include\QtANGLE -I....\Qt\5.15.0\mingw81_64\include\QtNetwork -I....\Qt\5.15.0\mingw81_64\include\QtCore -Idebug -I. -I/include -I....\Qt\5.15.0\mingw81_64\mkspecs\win32-g++ -o debug\mainwindow.o ..\Phase2\mainwindow.cpp
              In file included from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/combaseapi.h:153,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/objbase.h:14,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/ole2.h:17,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/wtypes.h:12,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/winscard.h:10,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/windows.h:97,
              from ....\tesseract\include/tesseract/host.h:65,
              from ....\tesseract\include/tesseract/tesscallback.h:22,
              from ....\tesseract\include/tesseract/baseapi.h:31,
              from ..\Phase2\mainwindow.cpp:13:
              C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/wtypesbase.h:385:3: error: conflicting declaration 'typedef struct tagBLOB BLOB'
              } BLOB;
              ^~~~
              In file included from ....\tesseract\include/tesseract/baseapi.h:27,
              from ..\Phase2\mainwindow.cpp:13:
              ....\tesseract\include/tesseract/platform.h:30:3: note: previous declaration as 'typedef struct _BLOB BLOB'
              } BLOB, LPBLOB;
              ^~~~
              In file included from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/combaseapi.h:153,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/objbase.h:14,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/ole2.h:17,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/wtypes.h:12,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/winscard.h:10,
              from C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/windows.h:97,
              from ....\tesseract\include/tesseract/host.h:65,
              from ....\tesseract\include/tesseract/tesscallback.h:22,
              from ....\tesseract\include/tesseract/baseapi.h:31,
              from ..\Phase2\mainwindow.cpp:13:
              C:/MVISMB/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include/wtypesbase.h:386:25: error: conflicting declaration 'typedef struct tagBLOB
              LPBLOB'
              typedef struct tagBLOB LPBLOB;
              ^~~~~~
              In file included from ....\tesseract\include/tesseract/baseapi.h:27,
              from ..\Phase2\mainwindow.cpp:13:
              ....\tesseract\include/tesseract/platform.h:30:10: note: previous declaration as 'typedef struct _BLOB
              LPBLOB'
              } BLOB, LPBLOB;
              ^~~~~~
              In file included from ....\tesseract\include/tesseract/ltrresultiterator.h:26,
              from ....\tesseract\include/tesseract/resultiterator.h:26,
              from ....\tesseract\include/tesseract/baseapi.h:34,
              from ..\Phase2\mainwindow.cpp:13:
              ....\tesseract\include/tesseract/unicharset.h:165:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
              const UNICHAR_ID unichar_to_id(const char
              const unichar_repr) const;
              ^~~~~
              ....\tesseract\include/tesseract/unicharset.h:169:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
              const UNICHAR_ID unichar_to_id(const char* const unichar_repr,
              ^~~~~
              ....\tesseract\include/tesseract/unicharset.h:185:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
              const char* const id_to_unichar(UNICHAR_ID id) const;
              ^~~~~
              ....\tesseract\include/tesseract/unicharset.h:191:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
              const char* const id_to_unichar_ext(UNICHAR_ID id) const;
              ^~~~~
              In file included from ..\Phase2\mainwindow.cpp:13:
              ....\tesseract\include/tesseract/baseapi.h:653:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
              Tesseract* const tesseract() const {
              ^~~~~~~~~
              ....\tesseract\include/tesseract/baseapi.h:657:17: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
              OcrEngineMode const oem() const {
              ^~~~~
              ..\Phase2\mainwindow.cpp: In member function 'void MainWindow::process(cv::Mat&)':
              ..\Phase2\mainwindow.cpp:89:35: warning: unused parameter 'image2' [-Wunused-parameter]
              void MainWindow::process(cv::Mat& image2)
              ~~~~~^~
              mingw32-make[1]: *** [Makefile.Debug:1212: debug/mainwindow.o] Error 1
              mingw32-make[1]: Leaving directory 'C:/MVISMB/Projects/build-Phase2-Desktop_Qt_5_15_0_MinGW_64_bit-Debug'
              mingw32-make: *** [Makefile:45: debug] Error 2
              19:14:31: The process "C:\MVISMB\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited with code 2.
              Error while building/deploying project Phase2 (kit: Desktop Qt 5.15.0 MinGW 64-bit)
              When executing step "Make"
              19:14:31: Elapsed time: 00:04.

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @Robbie9499 said in Error while building/deploying project in step "Make":

              tesseract

              you may want to check this question about Tesseract, Qt & MinGW

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              2

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved