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. 'nmake' is not recognized in the Qt command prompt?
Forum Updated to NodeBB v4.3 + New Features

'nmake' is not recognized in the Qt command prompt?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 13.6k Views 1 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.
  • P Offline
    P Offline
    Ptolemy
    wrote on 2 Aug 2013, 08:54 last edited by
    #1

    When I run 'nmake' in the Qt command prompt, i get this:

    "nmake is not recognized as an internal command, external command, program or batch file".

    How come this happen? Why isn't 'nmake' recognized?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 2 Aug 2013, 08:57 last edited by
      #2

      Have you installed the MS Visual C++ compiler? If not, you need to do it.

      Also, you can try MSVS command prompt instead: it will have all the env set up (you just need to point it to Qt in PATH).

      (Z(:^

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raven-worx
        Moderators
        wrote on 2 Aug 2013, 11:16 last edited by
        #3

        as sierdzio said you need a msvc compiler installed.
        Visual studio provides you with a batch file were all necessary environment variables are already set. For msvc 2008 for example it is:
        C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
        You may need to pass "x86" as an parameter to the script.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Ptolemy
          wrote on 2 Aug 2013, 17:19 last edited by
          #4

          [quote author="sierdzio" date="1375433855"]Have you installed the MS Visual C++ compiler? If not, you need to do it.

          Also, you can try MSVS command prompt instead: it will have all the env set up (you just need to point it to Qt in PATH).[/quote]

          I have now installed Visual C++ compiler, but I get the same message:
          “nmake is not recognized as an internal command, external command, program or batch file”.

          You see I'm trying to follow these instructions in setting up KDSoap:
          https://github.com/KDAB/KDSoap/blob/master/INSTALL.txt

          I thought I was supposed to stick to the Qt Command prompt when doing this, or could I also use MSVC command prompt? And if so where do I find it?

          If I go to "Microsoft Visual Studio 2012->Visual Studio Tools" there are three types of command prompts. Can I use one of those?

          !http://s13.postimg.org/v89got9pj/VS2012_x64_Croos_Tools_Command_Prompt.png(VS2012 x64 Croos Tools Command Prompt)!

          Also, how do I point it to Qt in PATH? I guess I should do it in the PATH environment Variable (Start -> Control Panel -> System -> Advanced->Environment Variables), but how do I make the actual point to Qt?

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Ptolemy
            wrote on 3 Aug 2013, 01:38 last edited by
            #5

            Finally I made it. Installing KDSOAP - what a nightmare !!! =(

            Now I only need to try it out, and hope this is the best part =)

            Like you said it was a better idea to use mcvs command prompt instead, with all the necessary environment variables are already in place. It was the only thing that worked, and I guess any of the three command prompts will do but I used the VS2012 x64 Cross Tools Command Prompt.

            Thanks for your replies and by the way forget about the Qt PATH question, later on it got obvious to me, and also I like the software Rapid Environment Editor.

            1 Reply Last reply
            1

            1/5

            2 Aug 2013, 08:54

            • Login

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