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. Problems building after build interrupt
Forum Updated to NodeBB v4.3 + New Features

Problems building after build interrupt

Scheduled Pinned Locked Moved Installation and Deployment
11 Posts 2 Posters 4.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.
  • V Offline
    V Offline
    Viderizer
    wrote on last edited by
    #1

    So, after all the instructions I got, I was building Qt fom the sources, but then the computer's plug slipped off and now when I try to compile again, it gives me "nmake" was not recogniced as a command. I tried downloading the source again and doing everything from the start, I started configure, it gave me:

    Creating qmake...
    execute: File or path is not found <nmake>
    execute: File or path is not found <nmake>
    Cleaning qmake failed, return code -1.

    I'm compiling with Visual Studio 2010 in Windows

    Thank you for wasting your time reading this signature.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      Did you remember to start the compilation from vc command prompt?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Viderizer
        wrote on last edited by
        #3

        Yea.

        Thank you for wasting your time reading this signature.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Hmpf...
          I guess you have tested also that nmake can be found from that prompt?
          When it is still available, it is probably the best to start with a clean configuration of Qt.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • V Offline
            V Offline
            Viderizer
            wrote on last edited by
            #5

            Creating qmake…
            execute: File or path is not found <nmake>
            execute: File or path is not found <nmake>
            Cleaning qmake failed, return code -1.

            It's giving me that when I try to configure

            Also, nmake worked before the interrupt, now it sais the command doesn't exist, could this be a problem with VS2010 then?

            Thank you for wasting your time reading this signature.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on last edited by
              #6

              Ok, did not read careful enough your first post :-(

              [quote author="Viderizer" date="1328968161"]
              Also, nmake worked before the interrupt, now it sais the command doesn't exist, could this be a problem with VS2010 then?[/quote]
              This was my other suspicion. That is the reason for asking this:
              [quote author="koahnig" date="1328967924"]
              I guess you have tested also that nmake can be found from that prompt?
              [/quote]
              Please test if nmake can be called in the vc tools command prompt.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              0
              • V Offline
                V Offline
                Viderizer
                wrote on last edited by
                #7

                I don't understand what you are asking :( , but everythime I try to call nmake, it just returns The command "nmake" wasn't recogniced... Also I just noticed the prompt gives this message when started, I didn't see it before the interrupt, "ERROR: Cannot determine the location of the US Common Tools folder".

                By the way, I just tried repairing VS2010 and when restarted computer like it asked, it gave me some error from another installer and didn't finish :/

                Thank you for wasting your time reading this signature.

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  koahnig
                  wrote on last edited by
                  #8

                  So, it looks like your vc installation is broken.
                  I was asking to start nmake from command prompt in vc in order to see, if this might be the problem. And as it looks, it is the problem.

                  You need to create a complete installation of msvc again. Since repairing did not work out, you better remove it completely and reinstall freshly including all service packages.

                  Let's the fingers crossed that nothing in addition is broken in your installation.

                  Vote the answer(s) that helped you to solve your issue(s)

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    Viderizer
                    wrote on last edited by
                    #9

                    Hmm, any advice on totally uninstalling VC? There are multiple parts it has intalled and it owuld take a lot of time to remove them on-by-one

                    Thank you for wasting your time reading this signature.

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      koahnig
                      wrote on last edited by
                      #10

                      Well, I understand you hesitation though. No experience with vc 2010 since I have msvc 2005. But this takes some time.
                      You need to get it repaired. If this is possible without complete deinstallation you may have to check a msvc forum, or to be a bit patient in this forum. But the number of msvc 2010 users seems to be limited in the forum.

                      Vote the answer(s) that helped you to solve your issue(s)

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        Viderizer
                        wrote on last edited by
                        #11

                        This is weird. I downloaded a deinstaller tool from microsift site, and then reinstalled and it's still saying that o.O

                        EDIT: Googled a bit and found a stackoverflow page where someone said that some path in the PATH env variable had upset a VS bat file, I removed everything unneeded, and added sys32 as someone else instructed and now it is working! Thanks for your help :)

                        Thank you for wasting your time reading this signature.

                        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