Installation


The GrWin graphics library supports
many compiler systems, and installer packages each of which is customized for a supported compiler system are available. An all-in-one installer package and a compressed tar file that includes all the distribution files, with which you can install GrWin under any supported compiler systems, are also available. It is strongly recommended that you use an installer version suited for your compiler system unless you use more than one compiler system on a computer to make GrWin applications. All the downloadable files are listed in Download.

a. Installer packages for specific compilers

To install GrWin using a GrWin installer package you should have at least one of the supported compiler systems installed and ready to be used. Using such a package that is suited for your compiler system, a set of GrWin files, which enables you to develop graphical applications with the included documentation, is installed quite easily in suitable separate folders by responding to some dialogs appearing in the installation process. If it is normally done you are ready to do graphics programing using the GrWin library, moreover you are ready to make PGPLOT applications on Windows if you select (by default) the PGPLOT option in a dialog. [ Users of Compaq Visual Fortran Version 6, however, have to make PGPLOT library files themselves using the GrWin toolkit because the author does not have VF installed and is not able to provide the prebuilt binaries that requires it to make. ]

If you want to know what an installer is doing in the installation process, consult the source file lGrWn0999be-XXX.iss for the installer included in that package.

b. All-in-one package

If you select more than one compiler system, or select the Custom installation, in the installation process using the all-in-one installer lGrWn0999be.exe, you must set yourself the PATH environment variable because all the executables, batch files and other files that should be on the PATH are installed in a folder, the GrWin folder.

It is possible to use some or all the other compiler systems on separate windows on a machine. If you want to know what the installer is doing in the installation process, consult the source file lGrWn0999be.iss of the installer.

If you do not like using such an installer you can use a compressed file lGrWn0999be.tgz, where all the distribution files are compressed with tar + gzip. In this case you should do additional installation procedures such as moving or copying files into suitable folders, etc., in addition to the setting of the PATH environment variable.

c. Testing

If the installation has done, input the following comannd in a command prompt as a test:

C:\GrWin> cd demo
C:\GrWin\demo> gwF77 trigfn
C:\GrWin\demo> gwCC polygon
C:\GrWin\demo> dir *.exe

Here gwF77 and gwCC should read as correct bach file names for FORTRAN and C, respectivery, depending on your compiler system(s). If you are using a compiler system based on GNU, say MinGW, gwF77 and gwCC should read as gwf77 and gwgcc, respectivery, for example.

If you were not able to get the executable files, trigfn.exe and polygon.exe, something is wrong, and then you should do from the beginning of the above installation procedure.


d. Uninstallation

To uninstall a set of GrWin files installed with an installer, use Add/Remove Programs in Control Panel, where the name 'GrWin Version Version 0.99.9b for XXX' should be listed with XXX standing for a compiler system. The GrWin installers do not create any registry key, but some grwnd.ini files might be created in some folders depending on how you have launched grwnd.exe, the graphics engine of GrWin. Remove all these GrWin.ini files if you do not like them being in folders.



Tsuguhiro TAMARIBUCHI <tamari@spdg1.sci.shizuoka.ac.jp>

Last modified:  Tue Jun 24 23:56:22 JST 2003