Procedure To Compile All ESRG Windows® Tools Using Microsoft Visual C++


If you are at this page, you have obtained the Windows® tool set source code from either a source distribution or via anonymous CVS access.  This page provides instructions for compiling the Windows® tool set from source code.

  1. Be certain you have the full version of Microsoft Visual C++ 6.0 (the one that retails for around $600).  You cannot compile standalone executables without this full version.  Versions such as the "academic" version will not allow the creation of standalone executables that do not require external .DLLs.
  2. Be certain you have arranged the source code on a Windows® computer so that the CVS module esrgpcpj exists as a top-level directory of C:.  (If the directory c:\esrgpcpj exists, you probably have placed the directory in the right place.)
  3. Open a DOS box and navigate to the directory c:\esrgpcpj\batbuild, as illustrated in the screen snapshot below.

  4. In this directory, there should be a file releases.bat.  Invoke this file by typing releases.
  5. The build process should be automatic and should complete with no errors.  (During the process, console windows will be created for each build and then disappear.)  It is a good idea to watch the process to be sure that no errors are encountered.
  6. The build process will create both a "release" and a "debug" executable for each program that is a component of the Windows® tool set.  For example, both versions of the program gfsw will be built.  The release version will be c:\esrgpcpj\gfsw\Release\gfsw.exe, and the debug version will be c:\esrgpcpj\gfsw\Debug\gfsw.exe.

This web page is maintained by David T. Ashley.
$Header: /cvsroot/esrg/sfesrg/esrgweba/htdocs/devels/compile_all_win_tools/compile_all_win_tools.htm,v 1.2 2003/04/30 05:32:46 dtashley Exp $