Error Spawning Cl.exe Vs 2008
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error PRJ0003 : Error spawning 'cl.exe' up vote 2 down vote favorite 2 I converted VS2006 vc++ project to VS2008. When compiling I get the above error. How do i fix it? am I missing this exe ? path compilation share|improve this question asked Sep 20 '08 at 20:46 Praveen Chettypally add a comment| 3 Answers 3 active oldest votes up vote 13 down vote There is a bug in the Visual Studio 2008 Standard Edition installer. It does not install cl.exe if you only install Visual C++ but not Visual C#. To work around this you have to install Visual C# even if you do not need this. share|improve this answer answered Feb 12 '10 at 15:40 Attila 14114 +1 This fixed it for me. –harms Jul 12 '10 at 17:31 +1 Nice one Attila. You saved me a shedload of pointless trawling. –AndyUK Aug 2 '11 at 13:15 add a comment| up vote 1 down vote cl.exe is VS2008 (and any other VS) C/C++ compiler, so check for more detailed error message why it cannot be spawned. Be sure you've installed C++ language support when installing VS2008. share|improve this answer answered Sep 20 '08 at 21:40 Michael Pliskin 1,31131838 add a comment| up vote 1 down vote It could be that your "path" environment variable does not contain the path to the folder where cl.exe is located. Another possible reason could be that when installing VS2008, you did not select the option to install the Win32 tools (which include the command line compiler). In any case, you may want to try to repair the installation of VS2008 (by running its setup via Control Panel - Add/Remove Programs), or use its "Add/Remove components" option and add the "Win32 tools" option (under Visual C++ - Visual C++ Tools). share|improve this answer answered Sep 20 '08 at 21:55 Andrei Belogortseff 1,30821526 add
you try to build any kind of C++ project you will receive the following error message: Project : error PRJ0003 : Error spawning ‘cl.exe' ★★★★★★★★★★★★★★★ Soumitra MondalAugust 28, 20092 0 0 0 Resolution: You would also need to install C# along with VC++ Repro Steps ========== Install Visual Studio 2008 Standard with only C++ Launch VS 2008 IDE Create any kind of new C++ project Build the project http://stackoverflow.com/questions/109319/error-prj0003-error-spawning-cl-exe You will receive the following error message:Project : error PRJ0003 : Error spawning ‘cl.exe' The root cause of this issue is that cl.exe file is only included in the feature of C# in vs_std sku. That means it won't get installed by only installing VC++. If you search for cl.exe on https://blogs.msdn.microsoft.com/smondal/2009/08/28/after-installing-visual-studio-2008-standard-with-only-vc-when-you-try-to-build-any-kind-of-c-project-you-will-receive-the-following-error-message-project-error-prj0003-error-spawning-cl-ex/ the machine you will find the following occurrences: 1. "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\amd64\cl.exe" 2. "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\x86_amd64\cl.exe" The folder "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin" does not include cl.exe. Comments (2) Cancel reply Name * Email * Website Anjali says: April 5, 2013 at 6:22 am how to over come this error???? The folder "C:Program FilesMicrosoft Visual Studio 9.0VCbin" does include cl.exe…what should i do??plz help me. Reply Soumitra Mondal says: April 5, 2013 at 6:31 am In order to get this cl.exe file, you need to install Visual C# on the system. Reply Follow UsArchives September 2016(1) August 2016(1) May 2016(3) April 2016(2) March 2016(2) August 2015(1) March 2015(1) February 2015(1) October 2014(2) April 2014(2) All of 2016(9) All of 2015(3) All of 2014(5) All of 2013(16) All of 2012(13) All of 2011(13) All of 2010(16) All of 2009(21) Privacy & Cookies Terms of Use Trademarks © 2016 Microsoft
Unanswered Topics Wrox Programmer Forums > C# and C > C++ and Visual C++ > BOOK: Beginning Visual C++ 6 Error spawning cl.exe User Name Remember Me? http://p2p.wrox.com/book-beginning-visual-c-6/9180-error-spawning-cl-exe.html Password Reminder Password Register Register | FAQ | Members List | Calendar | Today's Posts | Search BOOK: Beginning Visual C++ 6 This is the forum to discuss the Wrox book Beginning Visual C++ 6 by Ivor Horton; ISBN: 9780764543883 Read more about Beginning Visual C++ 6 or buy the book from your favorite retailer Download the code for Beginning Visual C++ error spawning 6 Search Forums Show Threads Show Posts Advanced Search Find All Thanked Posts Go to Page... Welcome to the p2p.wrox.com Forums. You are currently viewing the BOOK: Beginning Visual C++ 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a error spawning cl.exe guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free . Thread Tools Display Modes #1 (permalink) February 10th, 2004, 05:11 AM TypX Registered User Join Date: Feb 2004 Location: , , France. Posts: 1 Thanks: 0 Thanked 0 Times in 0 Posts Error spawning cl.exe Hello, When I try to compile my files, even the example files of visual C++, I receive this error message : Error spawning cl.exe What does that mean ? what can I do ? #2 (permalink) February 10th, 2004, 06:32 AM karthik79_mca Registered User Join Date: Jan 2004 Location: , , . Posts: 1 Thanks: 0 Thanked 0 Times in 0 Posts Hello, I think this is useful to you. Check your path settings under Tools->Options->Directories. Make sure the paths listed for the executable is correct for where you have vcspawn.exe and CL.exe installed to. You can also attach the