Using GDR with Windows
(contributed by Aaron Bray, 2005/04/01)

Download Cygwin Setup

In order to run GDR on a windows environment, you will need to download the Cygwin setup.exe file. Simply save the executabe or open it from the web. It is useful to download the application and keep it in a convenient spot as it will enable you to install and remove packages for your Cygwin environment.


Cygwin Home Page


Running the Cygwin Setup

The Cygwin download is fairly large and could take a while if not on broadband. When installing choose the Install from Internet Option. Step through the install and configuration as you want until you get to the Package Selection Step. The package selection menu will prompt you for what you would like for your Cygwin environment. Development tools are located in the Devel branch. You may expand the branch and select items individually (you will at least need GCC for C/C++ and MAKE) or simply click Default and change it to Install. This will install all the development tools and libraries for Cygwin. Next, you need to get X11. Scroll down to the X11 branch and click Default and change it to Install. By selecting Next the setup will download and install all packages you have selected. When the installation is complete you will want to add the Cygwin\bin directory to your Windows Path, so Cygwin has access to its dll's.

Package Selection

Running an X11 shell

When extracing the GDR Source it will be easier to build it if you extract it inside the home directory so it is easier to get to in your shell.
Extract To Home

A shortcut to a Cygwin Shell will be created on your Desktop, but we do not wish to use this shell. Instead, goto the Cygwin\usr\X11R6\bin and run the startxwin.bat batch file in order to get a shell that contains the ability to start a window. If you have a firewall, be sure to allow the X11 communication as it is a client\server.

Start XWin

Simply run make in the source location and 4 executable files will be created, then type the name of the executable to start the graphing application.
Make


dfs_scc