Build Error: Could not start process "nmake.exe"



  • I have inherited an old project that was written a long while ago. The people who started and completed the project have long since left the company.

    I need to modify and deploy it a new version of it. It is the Windows desktop side of a bootloader system.

    I am running Qt Creator 3.5.1 (enterprise) and compiling for 32-bit systems.

    The compile output reads as follows:

    09:36:27: The process "C:\Qt\5.5\msvc2013\bin\qmake.exe" exited normally.
    09:36:27: Could not start process "nmake.exe"
    Error while building/deploying project HIDBootloader (kit: Desktop Qt 5.5.1 MSVC2013 32bit)
    When executing step "Make"
    09:36:27: Elapsed time: 00:01.

    Can someone help me to interpret this?

    What are the steps in the build process?

    Why is nmake.exe failing to start?

    I suspect that there is a busted path in qmake.exe trying to call nmake.exe but I am not sure. Also, if qmake "exited normally" then this implies that there was no error while executing qmake.exe.

    Note that there are two instances of nmake.exe on my c: drive, located in these places:
    -- C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin
    -- C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64

    If the solution is to fix the path in whatever is trying to call nmake.exe, then which nmake.exe would be correct?

    Thanks for your help, and sorry to ask such a beginner question. This project just fell into my lap and getting it to compile is just one of many headaches....


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Is by any chance your project stored in a path that contains spaces ?



  • @ErikB said:

    I have inherited an old project that was written a long while ago. The people who started and completed the project have long since left the company.

    I need to modify and deploy it a new version of it. It is the Windows desktop side of a bootloader system.

    I am running Qt Creator 3.5.1 (enterprise) and compiling for 32-bit systems.

    The compile output reads as follows:

    Thanks for the response.

    There are no spaces in the path, anywhere.

    I have since gotten past this problem by re-enabling JOM but I am now getting this seemingly infamous error, "Cannot open file windows.h".

    When I try to select a compiler under "kits", the field is grayed out and read-only.

    I click "manage" and select another compiler (e.g. x86 instead of amd64) and, for some reason, the selection never remains selected. Clicking "apply" and "ok" don't make the selection stick and there are no right-click options.

    Any ideas?

    Thanks again!


  • Lifetime Qt Champion

    You can't just switch from a 32 to a 64 bit compiler.

    Did you install Visual Studio after Qt ?


Log in to reply
 

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