What is the error " 'cl' is not recognized as an internal or external command, operable program or batch file" means?
-
wrote on 15 Nov 2011, 10:36 last edited by
I am trying to run my code and i am getting this error. What may be the fault?
-
wrote on 15 Nov 2011, 11:10 last edited by
you need to provide some details on the environment you are using (OS, IDE, compiler, etc)
-
wrote on 15 Nov 2011, 11:23 last edited by
os is window xp sp2, Qt Creator 2.2.1 based on qt 4.7.4, msvc2008
-
wrote on 15 Nov 2011, 12:09 last edited by
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. -
wrote on 15 Nov 2011, 13:48 last edited by
other project is working fine.
-
wrote on 15 Nov 2011, 14:04 last edited by
Your environment for this project is somehow not setup properly.
-
wrote on 15 Nov 2011, 14:18 last edited by
ok can you say why this happens?
-
wrote on 15 Nov 2011, 14:43 last edited by
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.
-
wrote on 16 Nov 2011, 04:48 last edited by
ok now it is working
-
wrote on 16 Nov 2011, 07:04 last edited by
Could you explain what was wrong, so others may learn from it as well?
-
wrote on 16 Nov 2011, 08:37 last edited by
actually i don't able to find what was the problem. i have just restarted my system after that it was working.
1/11