Search

Project : error PRJ0003 : Error spawning 'cl.exe'. by Darsant

Closed
as Not Reproducible Help for as Not Reproducible

2
0
Sign in
to vote
Type: Bug
ID: 119659
Opened: 7/20/2005 2:43:51 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Default install on machine does not compile old programs made in .NET 2003.

Does not appear to add correct paths to bin in Win32 Directory.
Details (expand)
Product Language
English
Version
Visual Studio 2005 Beta 2
Category
Installation/Setup
Operating System
Windows XP Professional
Operating System Language
US English
Steps to Reproduce
Import program from .NET 2003 and attempt to compile.

cl.exe directory is not correctly set.
Actual Results
Project : error PRJ0003 : Error spawning 'cl.exe'.

Error on compile.
Expected Results
Program compiled successfully.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Darsant on 8/1/2005 at 12:51 PM
Bingo that did the trick. Thanks.
Posted by Microsoft on 7/25/2005 at 4:01 PM
Can you try deleting the VCComponents.dat file from

<users doc and settings directory>\Local Settings\Application Data\Microsoft\VisualStudio\8.0 directory.

Restart the environment and this scenario should work.

Thanks
Sreraman
VC++ Development Team
Posted by Darsant on 7/23/2005 at 9:23 AM
Full Beta 2 from the CDs. Tried a fresh application and still did not find cl.exe. I looked in my directories, and for some reason there are only two listed for normal compiling. When I tried to add the base directories similar to the x64 processors (ignoring the x64-specific directories) cl.exe returns en error code.

When I default-installed, the only paths in Win32 Executables were hard-links to the SDK.

I added for trying to get cl.exe to work:
$(VCInstallDir)bin
$(VCInstallDir)PlatformSDK\bin
$(VCInstallDir)PlatformSDK\common\bin
$(VSInstallDir)Common7\Tools\bin

Now, when compiling, it finds cl.exe but returns:

Project : error PRJ0002 : Error result -1073741515 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe'.
Posted by Microsoft on 7/22/2005 at 9:55 AM
Hello,

Can you provide us more information on this bug? Is this on Express SKU? If you create a fresh application with a wizard, does this problem reproduce? Does it work for any other converted projects? Was there any installation problem? Do you find cl.exe installed on your machine? Did you try this on the default Win32 platform?

Thank you.

-Shankar
Visual C++
Sign in to post a workaround.