From: erg Date: Wed, 20 Jul 2005 19:56:26 +0000 (+0000) Subject: Update windows build instructions for the new architecture X-Git-Tag: LAST_LIBGRAPH~32^2~7398 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2c1f22a3808ed3aa09e82908dda050e1bc33665;p=graphviz Update windows build instructions for the new architecture --- diff --git a/doc/winbuild.html b/doc/winbuild.html index 2b6ff4a3b..7070f6688 100644 --- a/doc/winbuild.html +++ b/doc/winbuild.html @@ -5,8 +5,11 @@

Graphviz Build Instructions for Windows

-Currently we build Graphviz on Windows using the MS Visual C++ compiler only. -The simplest way to build the software from source on Windows is as follows: +(Graphviz versions >= 2.3) +

+Currently we build Graphviz on Windows using the MS Visual C++ 6.0 compiler +only. The simplest way to build the software from source on Windows is as +follows:

  1. Download the Windows source package:
    Go to @@ -25,7 +28,7 @@ If you have Unix tools available, you can use If not, double click on the file and WinZip should start up and let you store all of the files into a directory.
    -Let $ROOT be the root directory for the Graphviz software. +Let $ROOT be the directory in which you stored the Graphviz source.
  2. @@ -51,42 +54,42 @@ Unzip the package in the $ROOT directory; this will create a subdirecto third-party. Or you can obtain the libraries yourself, and install them in $ROOT\third-party +Also note that these libraries come with the binary release.
  3. Build the software in one of the following ways:
      -
    • Run the script $ROOT\build.bat. You'll first want to check +
    • Run the script $ROOT\build.bat while in the $ROOT +directory. You'll first want to check that the vc variable points to your local installation of visual C. Obviously, this should be run in a DOS command window. -
    • The file $ROOT\makearch\win32\static\graphviz.dsw +
    • The file $ROOT\ws\graphviz.dsw is the main workspace for the Graphviz libraries and graph drawing programs. The file -$ROOT\makearch\win32\static\tools.dsw provides the workspace for the +$ROOT\ws\tools.dsw provides the workspace for the additional Graphviz tools. Double-clicking on these files will open the workspaces using the MS Visual Studio, from which you can use the Build menu item to create the various libraries and programs. + +Note that we have avoided all dependencies (i.e., there are no .dep files) +because we found they tended to include absolute pathnames. +If necessary, follow the order used in build.bat to be safe.
    • If you have a Unix environment, with a real ksh, run the script $ROOT\wmake.sh after setting the PATH, LIB and INCLUDE shell variables to the paths where the Visual C programs are installed on your machine, and the associated library and include file directories. -
    • Execute the $ROOT\winmake.wsf file by double-clicking on the -file within Windows Explorer. This is a Javascript program. -We have found that this build can fail -in strange ways.

Once built, all of the libraries and programs will be found in -$ROOT\makearch\win32\static\Release. If you wish to install +either the Release or Debug subdirectory of the corresponding source +directory. If you wish to install the software somewhere, edit the file $ROOT\install.bat to set the variable root to be the absolute pathname of the directory where you want -the sotware installed, and then run the script $ROOT\install.bat. -

-We have avoided all dependency files, and dependencies in make files, -because we found they tended to include absolute pathnames. -If necessary, follow the order used in build.bat to be safe. +the software installed, and then run the script $ROOT\install.bat +from the $ROOT directory.

If you want to change source files, you can just do it and rebuild. If, however, you want to add new files or projects, you will