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. make (e=2): The system cannot find the file specified
Forum Updated to NodeBB v4.3 + New Features

make (e=2): The system cannot find the file specified

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 3.6k 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.
  • A Offline
    A Offline
    Allstar12345
    wrote on last edited by Allstar12345
    #1

    Hi,

    I have a really strange error, I'm trying to include a manifest.xml in my Windows App, but some some reason make can't find the file.

    process_begin: CreateProcess(NULL, mt -nologo -manifest C:/Users/pauls/sRadioWindows/manifest.xml -outputresource:C:/Users/pauls/build-sRadioWindows-Desktop_Qt_5_15_2_MinGW_64_bit-Release/sRadioWindows”.exe”, ...) failed.
    make (e=2): The system cannot find the file specified.
    mingw32-make[1]: *** [Makefile.Release:260: release/sRadioWindows.exe] Error 2
    

    The file is 1000% in the right spot and spelt correctly, even pasting the path into explorer opens it straight away, I'm a little confused.

    QMAKE_POST_LINK += mt -nologo -manifest $$PWD/manifest.xml -outputresource:$$OUT_PWD/$$TARGET”.exe” $$escape_expand(\n\t)
    
    

    Tried the usual clean build but same issue every time.

    Running on Qt5.15.2 on Windows 10

    jsulmJ 1 Reply Last reply
    0
    • A Allstar12345

      Hi,

      I have a really strange error, I'm trying to include a manifest.xml in my Windows App, but some some reason make can't find the file.

      process_begin: CreateProcess(NULL, mt -nologo -manifest C:/Users/pauls/sRadioWindows/manifest.xml -outputresource:C:/Users/pauls/build-sRadioWindows-Desktop_Qt_5_15_2_MinGW_64_bit-Release/sRadioWindows”.exe”, ...) failed.
      make (e=2): The system cannot find the file specified.
      mingw32-make[1]: *** [Makefile.Release:260: release/sRadioWindows.exe] Error 2
      

      The file is 1000% in the right spot and spelt correctly, even pasting the path into explorer opens it straight away, I'm a little confused.

      QMAKE_POST_LINK += mt -nologo -manifest $$PWD/manifest.xml -outputresource:$$OUT_PWD/$$TARGET”.exe” $$escape_expand(\n\t)
      
      

      Tried the usual clean build but same issue every time.

      Running on Qt5.15.2 on Windows 10

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

      @Allstar12345 said in make (e=2): The system cannot find the file specified:

      C:/Users/pauls/build-sRadioWindows-Desktop_Qt_5_15_2_MinGW_64_bit-Release/sRadioWindows”.exe”

      I guess this is the path make complains about, as it contains non ASCII characters?
      How did you add the manifest file?

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Allstar12345
        wrote on last edited by Allstar12345
        #3

        @jsulm said in make (e=2): The system cannot find the file specified:

        @Allstar12345 said in make (e=2): The system cannot find the file specified:

        C:/Users/pauls/build-sRadioWindows-Desktop_Qt_5_15_2_MinGW_64_bit-Release/sRadioWindows”.exe”

        I guess this is the path make complains about, as it contains non ASCII characters?
        How did you add the manifest file?

        Hi,
        It was just created through notepad, one thing I did forget to mention was I did comment out the -outputresource part initially because those characters raised my suspicions too.

        QMAKE_POST_LINK += mt -nologo -manifest $$PWD/manifest.xml
        
        

        But still the same

        process_begin: CreateProcess(NULL, mt -nologo -manifest C:/Users/pauls/sRadioWindows/manifest.xml, ...) failed.
        make (e=2): The system cannot find the file specified.
        
        1 Reply Last reply
        0
        • S Offline
          S Offline
          s-mehrdad
          wrote on last edited by s-mehrdad
          #4
          This post is deleted!
          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