Valhalla Legends Forums Archive | C/C++ Programming | Random error

AuthorMessageTime
Twix
I have been using MSC++ for awhile and it has been working fine then today I went to go to compile this code and I got this error message I tried everything to fix it and nothing has seem to work
[code]--------------------Configuration: running - Win32 Debug--------------------
Compiling...
Error spawning cl.exe

running.exe - 1 error(s), 0 warning(s)[/code]
January 15, 2006, 4:32 PM
Kp
What'd you change recently?
January 15, 2006, 5:06 PM
Twix
Nothing that I know of it was working fine it worked yesterday when I went to go to compile another code I wrote then I wrote another one last night then went to go to compile today and I got that error.
January 15, 2006, 5:11 PM
Skywing
Perhaps you damaged your path or otherwise made it so that cl isn't in the search path that VC is using.
January 15, 2006, 5:12 PM
Twix
It looks like I some how I damage the path here is a log of the working code I compiled be for it gave me the error

[code]
Build Log

--------------------Configuration: Temp - Win32 Debug--------------------

Command Lines
Creating temporary file "C:\DOCUME~1\keith\LOCALS~1\Temp\RSP2C7.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/Temp.pdb" /debug /machine:I386 /out:"Debug/Temp.exe" /pdbtype:sept
".\Debug\Temp.obj"
]
Creating command line "link.exe @C:\DOCUME~1\keith\LOCALS~1\Temp\RSP2C7.tmp"
Output Window
Linking...



Results
Temp.exe - 0 error(s), 0 warning(s)[/code]


January 15, 2006, 5:25 PM
Twix
Sorry to doubble post and bring up a old topic. I looked every where and try to fix my problem, , I've tryed to reinstall to fix the problem and I googled it  and it didn't help, and I would like to start programming again. Can somebody point me in the right direction.
January 29, 2006, 7:14 PM
Yegg
[quote author=DeTaiLs link=topic=13922.msg143681#msg143681 date=1138562081]
Sorry to doubble post and bring up a old topic. I looked every where and try to fix my problem, , I've tryed to reinstall to fix the problem and I googled it  and it didn't help, and I would like to start programming again. Can somebody point me in the right direction.
[/quote]

Perhaps some of the files necessary for the compilation to complete have been relocated to an area that MSC++ cannot locate?
January 29, 2006, 7:21 PM
Twix
Well I know the error is the spawning cl.exe, I Don't what its suppose to be and where to fix it at.
January 29, 2006, 7:29 PM
Kp
cl.exe is the compiler.  It's supposed to be somewhere under the Visual Studio directory, probably in a directory named bin.  You can fix it by telling Visual Studio how to find cl.

Alternatively, you could go to invoking cl by hand once you find it. :)
January 29, 2006, 7:49 PM
Twix
I fixed it I named a project called CL and for somereason it worked, I tested it on other projects and everything compiles now, it is the stupidest thing I ever heard but it worked.
January 30, 2006, 10:37 PM

Search