Hi Pat
 
Maybe calling the vcvars32.bat script in C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat before starting your script will solve the issue.
 
This should add the required folders to the PATH to ensure later calls to cl.exe are successful.
 
regards
 
Thibaut Barrère
http://www.dotnetguru2.org/tbarrere

 
2005/6/29, Pat Lawrence <[EMAIL PROTECTED]>:
Hello everyone,
I was asked to get some automated nightly builds going on several C++ .NET project that are all pretty huge.
 
I apologize for how basic this question is, but I've been fiddling both with very simple build files in order to compile just a single .cpp file and also with the solution task--in both cases, I get a message telling me that nant cannot find the C/C++ compiler (I think).
 
In the solution case:
 
BUILD FAILED
'cl' failed to start.
The system cannot find the file specified.
 
In the simple .cpp build case:
 
BUILD FAILED
...
NAnt.Core.BuildException: ...
'cl' failed to start ---> System.ComponentModel.Win32Exception: The system, cannot find the file specified at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInto startInfo)
...(and a bunch more "at" statements mentioning other [functions?])
 
I would really appreciate it if someone would tell me what I did wrong.
Pat


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Reply via email to