Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Visual Studio 2010 nmake error
Forum Updated to NodeBB v4.3 + New Features

Visual Studio 2010 nmake error

Scheduled Pinned Locked Moved Installation and Deployment
26 Posts 14 Posters 54.4k 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.
  • T Offline
    T Offline
    Techtotie
    wrote on last edited by
    #21

    Hi,

    I am not aware of entire previous discussions but I think probable answer to your question about windows.h file might be ..

    You have to set some environmental system variables.
    I am using cl compiler and SDK and it works fine for me. I have the following environmental variables set..

    Variable name : INCLUDE
    Variable value : C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include;C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include;C:\Program Files\Microsoft Visual Studio 9.0\VC\include;C:\OpenSSL-Win32\include;C:\OpenSSL-Win32\include\openssl;

    I am using cl from Visual studio command prompt. I am not aware of any settings to be done for Visual studio debugger. This link might help you :
    http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/c42cf8da-8718-4aa7-9a6a-9eef80f96c6e

    1 Reply Last reply
    0
    • W Offline
      W Offline
      weiyuemin
      wrote on last edited by
      #22

      I have the same issue with muntoo, while building the current stable branch (5.1) from git.

      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\m
      t.exe"' : return code '0x1f'

      Carefully reading http://qt-project.org/wiki/Building_Qt_5_from_Git , I guess it is because lack of Windows SDK 7.1.

      But I failed to install Windows SDK 7.1. According to the page http://qt-project.org/wiki/Cannot_Install_Windows_SDK, I uninstalled the Microsoft Visual C++ 2010 Redistributable, but still failed with another error.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Techtotie
        wrote on last edited by
        #23

        Hi,

          Try to use jom instead of nmake that may solve your problem...
        

        Refer to ...: http://qt-project.org/forums/viewthread/25776

        1 Reply Last reply
        0
        • W Offline
          W Offline
          weiyuemin
          wrote on last edited by
          #24

          At that time, I had other errors when using jom, posted at http://qt-project.org/forums/viewthread/26325 Afterwards I find another machine that can install Windows SDK and run nmake, then build successfully.

          jom may indeed avoid the problem. In fact, I participate in your referred post http://qt-project.org/forums/viewthread/25776 :)

          1 Reply Last reply
          0
          • T Offline
            T Offline
            Techtotie
            wrote on last edited by
            #25

            Sorry did not see that you were the one who posted the solution in the other post...
            Just thought that it might be relevant and referred it. :-)

            1 Reply Last reply
            0
            • F Offline
              F Offline
              flafi1
              wrote on last edited by
              #26

              try with http://thomasstockx.blogspot.com/2011/03/qt-472-in-visual-studio-2010.html

              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