Here are the locations of this file for the MSVC Version 6 and Version 8 default installations:
This file can be used to run the cl.exe compiler from within ZeusDirectory of C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
07/03/2007 03:44 PM 31 vcvars32.bat
1 File(s) 31 bytes
Directory of c:\Program Files\Microsoft Visual Studio\VC98\Bin
19/01/2006 16:21 989 VCVARS32.BAT
1 File(s) 989 bytes
Directory of C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
07/03/2007 03:44 PM 31 vcvars32.bat
1 File(s) 31 bytes

For example assume the following MSVC compiler command line is needed to compile the test.cpp file:
Code: Select all
cl.exe -c -W3 test.cpp
Code: Select all
REM Uncomment the next line once the compile is working
REM @echo off
REM
REM *** Change the next few lines to match the location of your VCVARS32.BAT file
REM
REM Setup the MSVC 6 environment
REM call "c:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT"
REM Setup the MSVC 8 environment
call "c:\Program Files\Microsoft Visual Studio 8\VC\bin\VCVARS32.BAT"
REM Run the compiler
cl.exe -c -W3 %1
Code: Select all
"$zdzeus_msvc.cmd" $fn
Also enable the Capture standard error output and Always display options and Appply the changes.
Finally open the test.cpp file and use the Compiler, Compile menu to compile the file.
TROUBLESHOOTING:
If you have trouble getting the compile to run use the Zeus Options, Editor Options menu and in the General section enable Help debug tool, macros and executables option.
With this option enabled, run the compile and then use the Zeus Macros, Macro/Debug Output menu to view the debug output.
Cheers Jussi