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. What is the error " 'cl' is not recognized as an internal or external command, operable program or batch file" means?

What is the error " 'cl' is not recognized as an internal or external command, operable program or batch file" means?

Scheduled Pinned Locked Moved General and Desktop
11 Posts 3 Posters 17.7k 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.
  • P Offline
    P Offline
    pratik041
    wrote on last edited by
    #1

    I am trying to run my code and i am getting this error. What may be the fault?

    Pratik Agrawal

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

      you need to provide some details on the environment you are using (OS, IDE, compiler, etc)

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

      1 Reply Last reply
      0
      • P Offline
        P Offline
        pratik041
        wrote on last edited by
        #3

        os is window xp sp2, Qt Creator 2.2.1 based on qt 4.7.4, msvc2008

        Pratik Agrawal

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

          cl is the command to start your compiler. There must be something broken for this setup.

          I assume there is at least a problem with the environment for the failing project.

          Is it just this project you cannot compile?
          If you other projects using similar setup, you need to to check, if those are compiling.

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

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pratik041
            wrote on last edited by
            #5

            other project is working fine.

            Pratik Agrawal

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #6

              Your environment for this project is somehow not setup properly.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pratik041
                wrote on last edited by
                #7

                ok can you say why this happens?

                Pratik Agrawal

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

                  I expect as Andre that your project is somehow not setup properly. However, we need a crystal ball to understand thoroughly with the little information we have.

                  I would suggest to set up a new project and see if this is compiling properly. Possibly this was only one occassion. If not, you probably have to check the installation of qt creator.

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

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    pratik041
                    wrote on last edited by
                    #9

                    ok now it is working

                    Pratik Agrawal

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andre
                      wrote on last edited by
                      #10

                      Could you explain what was wrong, so others may learn from it as well?

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        pratik041
                        wrote on last edited by
                        #11

                        actually i don't able to find what was the problem. i have just restarted my system after that it was working.

                        Pratik Agrawal

                        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