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. Qt Static Build Error: Target 'install' Not Remade Because of Errors
Forum Updated to NodeBB v4.3 + New Features

Qt Static Build Error: Target 'install' Not Remade Because of Errors

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 4.4k Views
  • 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.
  • N Offline
    N Offline
    notalocal
    wrote on 17 Oct 2016, 16:20 last edited by
    #1

    Hey everybody,

    I am trying to create a static build of Qt 5.5.1 using the instructions given by Qt here on my Windows 7 machine. Through a few attempts I always seem to land at the following issue with the given script.

    mingw32-make[1]: Target 'install' not remade because of errors.
    mingw32-make[1]: Leaving directory 'C:/Qt/StaticBuild/src/qt-everywhere-opensource-src-5.5.1/qtbase'
    makefile:80: recipe for target 'module-qtbase-install_subtargets' failed
    mingw32-make: *** [module-qtbase-install_subtargets] Error 2
    mingw32-make: Target 'install' not remade because of errors.
    

    I am kind of stuck here and wondering how I might be able to resolve this issue, which I noticed some others were having. I have followed the instructions as far as I can tell and believe I have all the proper packages installed. For reference, the configure line I used is given below.

    $QtSrcUrl = "http://download.qt.io/official_releases/qt/5.5/5.5.1/single/qt-everywhere-opensource-src-5.5.1.7z",
    $QtStaticDir = "C:\Qt\StaticBuild", 
    $QtVersion = "5.5.1",
    $MingwDir = "C:\Qt\Tools\mingw492_32",
    [switch]$NoPause = $false
    

    Cheers
    ~ notalocal

    J 1 Reply Last reply 18 Oct 2016, 04:32
    1
    • N notalocal
      17 Oct 2016, 16:20

      Hey everybody,

      I am trying to create a static build of Qt 5.5.1 using the instructions given by Qt here on my Windows 7 machine. Through a few attempts I always seem to land at the following issue with the given script.

      mingw32-make[1]: Target 'install' not remade because of errors.
      mingw32-make[1]: Leaving directory 'C:/Qt/StaticBuild/src/qt-everywhere-opensource-src-5.5.1/qtbase'
      makefile:80: recipe for target 'module-qtbase-install_subtargets' failed
      mingw32-make: *** [module-qtbase-install_subtargets] Error 2
      mingw32-make: Target 'install' not remade because of errors.
      

      I am kind of stuck here and wondering how I might be able to resolve this issue, which I noticed some others were having. I have followed the instructions as far as I can tell and believe I have all the proper packages installed. For reference, the configure line I used is given below.

      $QtSrcUrl = "http://download.qt.io/official_releases/qt/5.5/5.5.1/single/qt-everywhere-opensource-src-5.5.1.7z",
      $QtStaticDir = "C:\Qt\StaticBuild", 
      $QtVersion = "5.5.1",
      $MingwDir = "C:\Qt\Tools\mingw492_32",
      [switch]$NoPause = $false
      

      Cheers
      ~ notalocal

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 18 Oct 2016, 04:32 last edited by
      #2

      @notalocal said in Qt Static Build Error: Target 'install' Not Remade Because of Errors:

      mingw32-make[1]: Target 'install' not remade because of errors.

      What was printed before this line?

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

      1 Reply Last reply
      1
      • N Offline
        N Offline
        notalocal
        wrote on 19 Oct 2016, 15:39 last edited by
        #3

        Hey, sorry for the late response. The full message looks more like the following with a lot more copies above it.

        2 File(s) copied
        xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\mkspecs\winrt-x86-msvc2013 C:\Qt\Static\5.7
        .0\mkspecs\winrt-x86-msvc2013
        2 File(s) copied
        xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\mkspecs\winrt-x86-msvc2015 C:\Qt\Static\5.7
        .0\mkspecs\winrt-x86-msvc2015
        2 File(s) copied
        xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\doc\global C:\Qt\Static\5.7.0\doc\global
        76 File(s) copied
        mingw32-make[1]: Target 'install' not remade because of errors.
        mingw32-make[1]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase'
        Makefile:85: recipe for target 'module-qtbase-install_subtargets' failed
        mingw32-make: *** [module-qtbase-install_subtargets] Error 2
        mingw32-make: Target 'install' not remade because of errors.
        Press Enter to continue...:
        

        I wanted to add that I noticed it also said this about half-way through the script:

        WARNING: Using OpenGL ES 2.0 without ANGLE.
        Specify -opengl desktop to use Open GL.
        The build will most likely fail.
        (Press any key to continue...)
        

        As an extra piece of information, I wanted to include my paths as I feel like they are totally relevant. I might be missing one maybe?

        C:\Windows\system32;
        C:\Windows;
        C:\Windows\System32\Wbem;
        C:\Windows\System32\WindowsPowerShell\v1.0;
        C:\..\Skype\Phone\;
        C:\..\Tortoise SVN\bin;
        C:\..\Microsoft Windows Performance Toolkit\;
        C:\..\.dnx\bin;
        C:\..\Microsoft DNX\Dnvm\;
        C:\..\Microsoft SQL Server\130\Tools\Binn\;
        C:\Qt\Tools\mingw492_32\bin\;
        C:\Qt\Tools\mingw530_32\bin;
        C:\Ruby23\bin;
        C:\Python27;
        C:\Python27\Scripts;
        C:\..\Python\Python35;
        C:\Users\..\Python\Python35\Scripts;
        C:\Strawberry\perl\bin
        
        J 1 Reply Last reply 20 Oct 2016, 05:28
        0
        • N notalocal
          19 Oct 2016, 15:39

          Hey, sorry for the late response. The full message looks more like the following with a lot more copies above it.

          2 File(s) copied
          xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\mkspecs\winrt-x86-msvc2013 C:\Qt\Static\5.7
          .0\mkspecs\winrt-x86-msvc2013
          2 File(s) copied
          xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\mkspecs\winrt-x86-msvc2015 C:\Qt\Static\5.7
          .0\mkspecs\winrt-x86-msvc2015
          2 File(s) copied
          xcopy /s /q /y /i C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\doc\global C:\Qt\Static\5.7.0\doc\global
          76 File(s) copied
          mingw32-make[1]: Target 'install' not remade because of errors.
          mingw32-make[1]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase'
          Makefile:85: recipe for target 'module-qtbase-install_subtargets' failed
          mingw32-make: *** [module-qtbase-install_subtargets] Error 2
          mingw32-make: Target 'install' not remade because of errors.
          Press Enter to continue...:
          

          I wanted to add that I noticed it also said this about half-way through the script:

          WARNING: Using OpenGL ES 2.0 without ANGLE.
          Specify -opengl desktop to use Open GL.
          The build will most likely fail.
          (Press any key to continue...)
          

          As an extra piece of information, I wanted to include my paths as I feel like they are totally relevant. I might be missing one maybe?

          C:\Windows\system32;
          C:\Windows;
          C:\Windows\System32\Wbem;
          C:\Windows\System32\WindowsPowerShell\v1.0;
          C:\..\Skype\Phone\;
          C:\..\Tortoise SVN\bin;
          C:\..\Microsoft Windows Performance Toolkit\;
          C:\..\.dnx\bin;
          C:\..\Microsoft DNX\Dnvm\;
          C:\..\Microsoft SQL Server\130\Tools\Binn\;
          C:\Qt\Tools\mingw492_32\bin\;
          C:\Qt\Tools\mingw530_32\bin;
          C:\Ruby23\bin;
          C:\Python27;
          C:\Python27\Scripts;
          C:\..\Python\Python35;
          C:\Users\..\Python\Python35\Scripts;
          C:\Strawberry\perl\bin
          
          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 20 Oct 2016, 05:28 last edited by
          #4

          @notalocal said in Qt Static Build Error: Target 'install' Not Remade Because of Errors:

          mingw32-make[1]: Target 'install' not remade because of errors.

          What was before all the xcopy calls?

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

          1 Reply Last reply
          1
          • N Offline
            N Offline
            notalocal
            wrote on 20 Oct 2016, 16:42 last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • N Offline
              N Offline
              notalocal
              wrote on 20 Oct 2016, 17:23 last edited by
              #6
              /mingw530_32/bin/mingw32-make -f Makefile install
              mingw32-make[3]: Entering directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/src/3rdparty/freetype'
              C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug install
              mingw32-make[4]: Entering directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/src/3rdparty/freetype'
              C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\bin\qmake -install sed -e "s,C:/Qt/Static/src/qt-everywhere-o
              pensource-src-5.7.0/[^/][^/]*/lib,$$[QT_INSTALL_LIBS],g" -e "s,C:\\\\Qt\\\\Static\\\\src\\\\qt-everywhere-opensource-src
              -5.7.0\\\\[^\\\\][^\\\\]*\\\\lib,$$[QT_INSTALL_LIBS],gi" ..\..\..\lib\qtfreetyped.prl > C:\Qt\Static\5.7.0\lib\qtfreetyped.prl
              copy /y ..\..\..\lib\libqtfreetyped.a C:\Qt\Static\5.7.0\lib\libqtfreetyped.a
                      1 file(s) copied.
              mingw32-make[4]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/src/3rdparty/freetype'
              C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Release install
              mingw32-make[4]: Entering directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/src/3rdparty/freetype'
              C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\bin\qmake -install sed -e "s,C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/[^/][^/]*/lib,$$[QT_INSTALL_LIBS],g" -e "s,C:\\\\Qt\\\\Static\\\\src\\\\qt-everywhere-opensource-src-5.7.0\\\\[^\\\\][^\\\\]*\\\\lib,$$[QT_INSTALL_LIBS],gi" ..\..\..\lib\qtfreetype.prl > C:\Qt\Static\5.7.0\lib\qtfreetype.prl
              copy /y ..\..\..\lib\libqtfreetype.a C:\Qt\Static\5.7.0\lib\libqtfreetype.a
                      1 file(s) copied.
              mingw32-make[4]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/src/3rdparty/freetype'
              mingw32-make[3]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/src/3rdparty/freetype'
              mingw32-make[2]: Target 'install' not remade because of errors.
              mingw32-make[2]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/src'
              Makefile:53: recipe for target 'sub-src-install_subtargets' failed
              mingw32-make[1]: *** [sub-src-install_subtargets] Error 2
              cd qmake\ && ( if not exist Makefile.qmake-aux C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\bin\qmake C:\Q
              t\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\qmake\qmake-aux.pro -o Makefile.qmake-aux ) && C:/Qt/Tools/mingw5
              30_32/bin/mingw32-make -f Makefile.qmake-aux install
              mingw32-make[2]: Entering directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/qmake'
              C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.qmake-aux.Debug install
              mingw32-make[3]: Entering directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/qmake'
              copy /y C:\Qt\Static\src\qt-everywhere-opensource-src-5.7.0\qtbase\bin\qmake.exe C:\Qt\Static\5.7.0\bin
                      1 file(s) copied.
              mingw32-make[3]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/qmake'
              mingw32-make[2]: Leaving directory 'C:/Qt/Static/src/qt-everywhere-opensource-src-5.7.0/qtbase/qmake'
              
              1 Reply Last reply
              0
              • N Offline
                N Offline
                notalocal
                wrote on 28 Oct 2016, 18:23 last edited by
                #7

                I was able to fix my issue by re-downloading the script and entering my lone argument for the Mingw directory on the command line instead of in the script. I also went to 5.7 instead of 5.5. Stupid I know.

                1 Reply Last reply
                0

                • Login

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